Please vote on this issue by adding a π reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the CloudFormation Open Coverage Roadmap.
Terraform CLI and Terraform AWS Cloud Control Provider Version
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Subsequent apply of the resource configuration should have no infrastructure changes identified.
Actual Behavior
Terraform plan and apply shows a change based on the refresh.
Terraform used the selected providers to generate the following execution plan. Resource
actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# awscc_batch_scheduling_policy.example will be updated in-place
~ resource "awscc_batch_scheduling_policy" "example" {
~ fairshare_policy = {
~ share_distribution = [
~ {
~ weight_factor = 0.10000000149011612 -> 0.1
# (1 unchanged attribute hidden)
},
~ {
~ weight_factor = 0.20000000298023224 -> 0.2
# (1 unchanged attribute hidden)
},
]
# (2 unchanged attributes hidden)
}
id = "arn:aws:batch:us-east-1:############:scheduling-policy/example"
name = "example"
tags = {}
# (1 unchanged attribute hidden)
}
Terraform state, console and the configuration matches the value of 0.1 while CC API returns 0.10000000149011612 leading to Terraform trying to reconcile.
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
Subsequent apply of the resource configuration should have no infrastructure changes identified.
Actual Behavior
Terraform plan and apply shows a change based on the refresh.
Terraform state, console and the configuration matches the value of
0.1
while CC API returns0.10000000149011612
leading to Terraform trying to reconcile.Steps to Reproduce
terraform apply
terraform apply
Important Factoids
References