aws / aws-sdk-go-v2

AWS SDK for the Go programming language.
https://aws.github.io/aws-sdk-go-v2/docs/
Apache License 2.0
2.68k stars 651 forks source link

Add support for `dualStackIPv6` ECS account setting #2772

Closed diogoazevedos closed 2 months ago

diogoazevedos commented 3 months ago

Describe the feature

Add support for dualStackIPv6 ECS account setting.

Use Case

Enable dualStackIPv6 using Terraform aws_ecs_account_setting_default.

Proposed Solution

I think it's matter of adding the dualStackIPv6 to: https://github.com/aws/aws-sdk-go-v2/blob/31c2861732d68954e5941053c22644f77ae71661/service/ecs/types/enums.go#L970-L999

Other Information

No response

Acknowledgements

AWS Go SDK V2 Module Versions Used

None

Go version used

1.23.0

bhavya2109sharma commented 2 months ago

Hello @diogoazevedos

I've looked into your issue and can confirm that the enum is not being correctly modeled by the service team. This has also been reported by other SDK customers.

There is an existing internal ticket (P146481495) with the EC2 service team to update their model with the missing enum. Since the AWS SDKs are code-generated from these API models, the SDK team cannot add the missing enum directly. The service team will need to make the change on the backend.

As a workaround, you can directly pass the string value instead of using the enum. This is already documented here, so you can use the string value and it should work as expected.

Since this is a duplicate, Im going to close this issue and ask you to track the existing one for updates.

Thanks ~Bhavya

github-actions[bot] commented 2 months ago

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.