-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Unable to change Flow Log to use log_destination instead of log_group_name #12502
Comments
Seems the |
Just verified that this is still an issue with 0.12.26 - i'd agree with @frimik that this looks like it's just not pulling the log_destination value and so the import isn't seeing it. |
Hi folks 👋 The It appears that the EC2 API response may only include We have a few options here:
In the meantime for existing flow logs, using the deprecated argument is okay for now and we will certainly not remove it as part of our 3.0.0 breaking changes. |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
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. |
This issue was originally opened by @AMMullan as hashicorp/terraform#24419. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform Configuration Files
Expected Behavior
Trying to convert from using log_group_name to using log_destination - have updated the config (above) and see a new resource to be created, so delete the flow log from state and import the existing one (as per the docs) and it should show no changes.
Actual Behavior
We get identical changes as prior to updating/deleting/importing:
I've also updated the state file manually so that the log_destination is as per the output and the log_group_name is "" but this changes nothing, we get the exact same as above.
Steps to Reproduce
Additional Context
We have a wrapper script around our terraform but this is just to simplify the way we have our Terraform structure across many accounts. We need to clean up all our TF so we can start looking at migrating to 0.12
The text was updated successfully, but these errors were encountered: