-
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
[Bug]: Can't enable logging configuration for existing AWS Prometheus workspace #27472
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
I would like to fix this bug. It has effected me and I have tracked down the cause. This will be my first contribution. |
This area of code shows that when a workspace is getting updated, if there has been a change to "logging_configuration", the code will do one of two things.
In order to address this bug, we need to add a call to CreateLoggingConfigurationWithContext |
@ewbankkit I think this is ready to go |
@ewbankkit would you run the tests again ? |
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. |
Terraform Core Version
1.3.2
AWS Provider Version
4.36.1
Affected Resource(s)
aws_prometheus_workspace
Expected Behavior
Logging is enabled for existing workspace
Actual Behavior
Error is produced:
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Step 1:
Step 2:
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
Enabling logs with aws cli works fine with resources created at step 2, and after this
terraform plan
reports that there are no changes.References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: