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

enterprise_project_id required in vpc_network_acl resource but it's not required in API Endpoint #5911

Open
gutierrezps opened this issue Nov 23, 2024 · 0 comments

Comments

@gutierrezps
Copy link

gutierrezps commented Nov 23, 2024

Expected Behavior

enterprise_project_id argument of huaweicloud_vpc_network_acl resource block (documentation) should be optional, the same way the parameter firewall.enterprise_project_id is not mandatory in CreateFirewall endpoint of VPC service.

Actual Behavior

If enterprise_project_id argument of huaweicloud_vpc_network_acl resource block is not specified or if it's set to null, the resource fails to be created.

│   on xxxxxx.tf line XX, in resource "huaweicloud_vpc_network_acl" "test":
│   XX: resource "huaweicloud_vpc_network_acl" "test" {
│ 
│ The argument "enterprise_project_id" is required, but no definition was found.

Steps to Reproduce

resource "huaweicloud_vpc_network_acl" "test" {
  name                  = "test"
}
@gutierrezps gutierrezps changed the title enterprise_project_id required in huaweicloud_vpc_network_acl but it's not required in API Endpoint enterprise_project_id required in vpc_network_acl resource but it's not required in API Endpoint Nov 23, 2024
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