aws_ssm_association resource doesn't support AutomationTargetParameterName #10301
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ssm
Issues and PRs that pertain to the ssm service.
Milestone
This issue was originally opened by @Draftkings as hashicorp/terraform#22935. It was migrated here as a result of the provider split. The original body of the issue is below.
It appears the
aws_ssm_association resource
doesn't support selecting a Automation document Parameter that will be define how an automation document will branch out.The AWS Api for CreateAssociation specifies a AutomationTargetParameterName parameter which is utilized by an SSM association when the SSM Document type being targeted is
Automation
and the Rate Control method for execution is selected.When trying to apply my
aws_ssm_association
resource that is pointing to an automation document, I receive the following error.Error: Error updating SSM association: ValidationException: Must specify both Automation Target Parameter Name and Targets status code: 400, request id:
Sample resource
The text was updated successfully, but these errors were encountered: