Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACL_ID not accepting id #145

Open
tomaspekarovic opened this issue Nov 21, 2024 · 0 comments
Open

ACL_ID not accepting id #145

tomaspekarovic opened this issue Nov 21, 2024 · 0 comments

Comments

@tomaspekarovic
Copy link

tomaspekarovic commented Nov 21, 2024

i have this code: using (0.5.0 provider)

 36 resource "cloudstack_vpc" "tomas_vpc" {
 37   name         = "tomas_vpc"
 38   display_text = "Tomas VPC"
 39   cidr         = "10.20.0.0/16"
 40   vpc_offering = "Default VPC Offering"
 41   zone         = "SK-WDS01"
 42 }
 43
 44 resource "cloudstack_network" "tomas_network" {
 45   name             = "tomas_network"
 46   display_text     = "Tomasova siet"
 47   network_offering = "DefaultIsolatedNetworkOfferingForVpcNetworks"
 48   zone             = "SK-WDS01"
 49   vpc_id           = cloudstack_vpc.tomas_vpc.id
 50   cidr             = "10.20.1.0/24"
 51   gateway          = "10.20.1.1"
 52   acl_id           = "ibdb115e1-16aa-11ef-9251-42ad207a9833"
 53 }

vpc is created but when network is going to be created, acl_id fails with:

│ Error: Error creating network tomas_network: CloudStack API error 431 (CSExceptionErrorCode: 9999): Unable to execute API command createnetwork due to invalid value. Invalid parameter aclid value=ibdb115e1-16aa-11ef-9251-42ad207a9833 due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
│
│   with cloudstack_network.tomas_network,
│   on main.tf line 44, in resource "cloudstack_network" "tomas_network":
│   44: resource "cloudstack_network" "tomas_network" {

Acl exists, and lot of networks has this attached ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant