You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
# module.greengrass[0].awscc_greengrassv2_deployment.demo must be replaced
-/+ resource "awscc_greengrassv2_deployment" "demo" {
~ components = {
~ "my_component" = { # forces replacement
~ component_version = "1.0.9" -> "1.0.10"
~ configuration_update = {
+ reset = (known after apply)
# (1 unchanged attribute hidden)
}
+ run_with = {
+ posix_user = (known after apply)
+ system_resource_limits = {
+ cpus = (known after apply)
+ memory = (known after apply)
}
+ windows_user = (known after apply)
}
},
}
~ deployment_id = "fdef5944-80f4-4f60-8898-5c0f353244b8" -> (known after apply)
+ deployment_policies = {
+ component_update_policy = {
+ action = (known after apply)
+ timeout_in_seconds = (known after apply)
}
+ configuration_validation_policy = {
+ timeout_in_seconds = (known after apply)
}
+ failure_handling_policy = (known after apply)
}
~ id = "fdef5944-80f4-4f60-8898-5c0f353244b8" -> (known after apply)
+ iot_job_configuration = {
+ abort_config = {
+ criteria_list = [
] -> (known after apply)
}
+ job_executions_rollout_config = {
+ exponential_rate = {
+ base_rate_per_minute = (known after apply)
+ increment_factor = (known after apply)
+ rate_increase_criteria = {
+ number_of_notified_things = (known after apply)
+ number_of_succeeded_things = (known after apply)
}
}
+ maximum_per_minute = (known after apply)
}
+ timeout_config = {
+ in_progress_timeout_in_minutes = (known after apply)
}
}
+ parent_target_arn = (known after apply)
~ tags = {} -> (known after apply)
# (2 unchanged attributes hidden)
}
Expected Behavior
I would like to change the component version, and update the existing deployment, so that we create a new version of the deployment, and my greengrass device automatically updates.
Actual Behavior
Changing the component version causes the entire Deployment to be replaced, rather than updated in place, with the result that I get a new deployment, at version 1, rather than the same deployment at version 2.
Greengrass core ignores the update, since the deployment has the same arn and version number.
Steps to Reproduce
Create a greengrass deployment, deploy
Update the version number, deploy
The text was updated successfully, but these errors were encountered:
Isn't the resource expected to be replaced with any change in the components attribute ?
Components
The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.
Required: No
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Terraform v1.2.3
on linux_amd64
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
I would like to change the component version, and update the existing deployment, so that we create a new version of the deployment, and my greengrass device automatically updates.
Actual Behavior
Changing the component version causes the entire Deployment to be replaced, rather than updated in place, with the result that I get a new deployment, at version 1, rather than the same deployment at version 2.
Greengrass core ignores the update, since the deployment has the same arn and version number.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: