-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Investigate Upstream AppMesh API Changes #7659
Comments
I'd be happy to pull request the required changes for AWS App Mesh. I would also love to understand how this change impacts current users of the Terraform integration with App Mesh, and will keep an eye on this issue during the comment period. |
We should probably start with a note in the documentation stating that the |
@bcelenza I'm totally happy for you to do the PR/collaborate as necessary. |
Thanks @ewbankkit! Opened a PR for the doc changes. |
I added some comments to the announcement. My thoughts:
My only concerns are around the short deprecation notice. I don't think we can follow the published best practice of doing a major release just for this and I'm not sure how this fits in with the provider v2.0.0 release timetable, but App Mesh is a preview service so there really should be reduced expectations around API stability. |
Agree with your thoughts. I've read through the best practices, hoping to confirm my assumptions below. Using VirtualNode as an example of a resource:
Alternatively, we could just update the resources to reflect the new APIs, and anyone on the current released integration will need to drop and recreate their App Mesh resources with the new structures. This is where my concern for existing adoption comes in to play. |
@bcelenza Terraform has robust state migration functionality so we should be able to rewrite state files created with the initial API version into a format that reflects the new API version:
We should be able to find an suitable example in the code. |
Additional proposed API changes: |
@bcelenza Is there a newer API model JSON with the latest proposed changes? |
@ewbankkit Not yet -- we're still waiting for the last pieces of VirtualRouter listeners to reach production before we distribute an updated JSON. ETA Tuesday of next week, if I had to guess. |
Updated Go SDK is now available as v1.17.13. |
@bcelenza I am working right now on a draft PR based on the original |
Will do, just wanted to get my current WIP pushed: #7858. |
@bcelenza To clarify dependencies (I saw some error messages during testing):
|
That's correct, the Virtual Service must be deleted before it's provider (VirtualNode or VirtualRouter). The thinking behind this is that the same actor in an organization likely owns both the Virtual Service and its providers, so it is there to protect them from creating an unintended outage of their own service. |
These changes will go out in version 2.3.0 of the Terraform AWS Provider middle of next week unless we decide to release this as a 3.0.0 due to the breaking changes. In the future, we may decide to relegate Public Preview and Beta APIs to separate Terraform AWS Provider(s) to prevent this situation in the future. |
…here the AWS service is in preview References: #7659 Backwards compatibility with AWS services in preview is best effort. Here we add a note to affected Terraform resources since they may not follow our normal compatibility promises as outlined on the [HashiCorp Blog](https://www.hashicorp.com/blog/hashicorp-terraform-provider-versioning) and [Extending Terraform documentation](https://www.terraform.io/docs/extend/best-practices/versioning.html). This notice mainly applies to Security Hub at the moment, but could apply to MSK (Kafka) if that is added before GA as well.
This has been released in version 2.3.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Potentially Affected Resource(s)
Description
AWS has publicly announced potentially breaking changes to the AppMesh service API: aws/aws-app-mesh-examples#92
We will need to investigate the proposed upstream changes and determine a path forward for the existing Terraform AWS Provider resources.
The text was updated successfully, but these errors were encountered: