-
Notifications
You must be signed in to change notification settings - Fork 562
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
ECS Network Interface Crash #7962
Comments
After reproducing this I found out that the security_group_ids parameter:
So the issue is that your security_group_ids contains empty string |
Documentation states that the field security_group_ids is optional: https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/ecs_network_interface. And, it seems that the resource cannot handle null or empty strings. Additionally, the error message doesn't indicate that the issue is related to missing security groups. Please update the documentation to clarify this behavior. Thanks! |
@walbertus Thanks for your contribution and the PR #8049 has been merged. |
The docs has updated. |
Bug Report: Crash in provider when creating ECS Network Interface
Terraform Version
Also tested with:
Affected Resource
Terraform Configuration Files
Debug Output
Expected Behavior
To create Network interface resource
Actual Behavior crushes with an error:
Steps to Reproduce
The text was updated successfully, but these errors were encountered: