-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
aws_cloudwatch_event_rule pattern converts float to integer with trailing 0 float #4609
Comments
Is there any fix for the above issue, I am still facing the same OUTPUT:
|
Noting the original / top issue here remains, and it's been seen in the AWS Console as well. It may be related to Go itself. Working around the issue is possible by using a
|
This issue was originally opened by @phundisk as hashicorp/terraform#18094. It was migrated here as a result of the provider split. The original body of the issue is below.
When using TF 0.11.7 and the aws_cloudwatch_event_rule resource. If you specify a pattern that is a float like '5.0' TF will remove the trailing 0 and change it to simply '5'. This is bad because you may want to look for string that are actually 5.0 for example with AWS guard duty events.
Terraform Version
Terraform Configuration Files
Expected Behavior
Event pattern should not have changed from '5.0' to '5' as for AWS events, the actual event is 5.0 and not 5.
Actual Behavior
Steps to Reproduce
The text was updated successfully, but these errors were encountered: