Closed rgoomar closed 1 year ago
Please take a look in this example and make sure that you specify ignore_source_code_hash = true
.
@antonbabenko That flag is set and we still get these outputs in the plan.
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.
Is your request related to a problem? Please describe.
I'm running into an issue where we use Terraform to define our Lambdas and deploy new versions using a different pipeline (outside of Terraform) and the
terraform plan
output when using this module gives us a very long list ofObjects have changed outside of Terraform
block.For every function we have, it shows something like this:
This makes our
terraform plan
outputs very noisy and harder to parse. I would like for these to be ignored.Describe the solution you'd like.
Given we, as consumers of the module can't use the lifecycle
ignore_changes
block, I was hoping that we could add an input variable that can add those ignore_changes if the intention is to have your function versions be updated elsewhere.Something like:
Although given that
lifecycle
arguments can be literal values only, I'm unsure what the best approach here is to basically have this only show up based on an input variable.