terraform-aws-modules / terraform-aws-apigateway-v2

Terraform module to create AWS API Gateway v2 (HTTP/WebSocket) 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/apigateway-v2/aws
Apache License 2.0
150 stars 203 forks source link

Support to pass `ignore_changes` attributes as input variables #49

Closed gcavalcante8808 closed 3 years ago

gcavalcante8808 commented 3 years ago

Is your request related to a new offering from AWS?

No.

Is your request related to a problem? Please describe.

Not per see, just a behavior I think.

Describe the solution you'd like.

We'd like to be able to create API-gateways with terraform but allow our devs to update the integrations using OpenAPI specs.

For that, if we can pass the list of changes to be ignored, like the integrations field it will work flawlessly.

Describe alternatives you've considered.

Bring the openapi.yaml spec into the repo workflow and use it for the body input value.

antonbabenko commented 3 years ago

Terraform does not support configurations variables inside of ignore_changes, so can't make it configurable in the module.

There is not much we can do in the module, unfortunately.

github-actions[bot] commented 2 years ago

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.