-
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
Incorrect reporting of processing_configuration using AWS Provider 1.16.0 #4392
Comments
Hi @si-robinson 👋 Sorry you're running into trouble here. Is this the only thing in the
|
I'm experiencing the same issue. According to the Git history of the resource declaration, we never defined a |
Similar issue here with |
@saliceti is the plan output strictly only the |
Hey @bflad - apologies for not getting back sooner. Enabling TF_LOG=TRACE got me this response from AWS:
Shout if you need any more :) |
The issue here is with the buffer size in the lambda processor, in extended_s3_configuration.
|
@saliceti I'm not sure your is the same issue as @si-robinson As far as I can see, the problem is that AWS api doesn't allow to remove ProcessingConfiguration from any destination after it's set the first time, it only allow to disable the the processing configuration like this:
The effect is that terraform will see a difference between an absent ProcessingConfiguration and a disabled ProcessingConfiguration. It will try to remove the existing ProcessingConfiguration, AWS will silently ignore it, and therefore the next plan will still be the same. I've reproduced this in aarnone@10f0c21 for extended s3 destination, but it applies to elasticsearch as well. I see few possible solutions:
I'm not sure options 2 and 3 are easily implementable. |
So should I open a new issue? Or is this related somehow? |
Similar issue here: |
my issue is similar, but in reverse case I keep getting following when
even I already
when using
but looks like terraform fail to store Here is part of my tf file
|
I can confirm the same. Terraform fails to store BufferIntervalInSeconds - this leads to plan showing the following output post Firehose creation:
|
Similar to #6053? |
Looks similar to #6053. lifecycle {
ignore_changes = [
"extended_s3_configuration.0.processing_configuration",
]
} |
Nice. Thanks for flagging that - will give it a go in the week
On Friday, 26 April 2019, 14:21:21 BST, Tomoya Kabe <[email protected]> wrote:
Looks similar to #6053.
I faced the same issues and the workaround mitigates:
lifecycle {
ignore_changes = [
"extended_s3_configuration.0.processing_configuration",
]
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks! Worked a treat :)
On Friday, 26 April 2019, 14:21:21 BST, Tomoya Kabe <[email protected]> wrote:
Looks similar to #6053.
I faced the same issues and the workaround mitigates:
lifecycle {
ignore_changes = [
"extended_s3_configuration.0.processing_configuration",
]
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
The fix for the original issue has been merged and will release with version 2.25.0 of the Terraform AWS Provider, later this week. |
This has been released in version 2.25.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
We updated to 2.29.0, but still have issues with |
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! |
Hi
We have an AWS firehose that uses elasticsearch as an endpoint under terraform with AWS provider 1.10.0 that does not use transformation:
Last week we upgraded the AWS Provider to 1.16.0 in order to use lambda transformations in a new firehose with redshift as the endpoint.
Since doing this, running
plan
always returns:elasticsearch_configuration.0.processing_configuration.#: "1" => "0"
for the original firehose.
If I apply the change and run plan again, it gives the same change it wants to make.
Terraform Version
0.11.7
Affected Resource(s)
elasticsearch_configuration.0.processing_configuration.#
Debug Output
no errors thrown
Panic Output
no panic
Expected Behavior
a) Running plan should not have seen that elasticsearch_configuration.0.processing_configuration.# was 1 as there was never any transformation included in the spec.
b) After applying the change I would expect not to see it surfaced again by running plan.
Actual Behavior
terraform indicated there was a processing_configuration when there wasn't and seems not to have updated it's state on applying the change and still sees empty config as containing a processing config.
Steps to Reproduce
import a pre-existing pipeline with no transformation into terraform using AWS provider 1.10.0. Upgrade provider to 1.16.0.
Run plan
See the above indicated.
Run apply
Run plan
See the above still indicated
The text was updated successfully, but these errors were encountered: