Title
AWS::SSM::Document-Attachments
Scope of request
AWS::SSM::Document-Attachments to allow for attachments and scripts to be added to SSM automation documents
Expected behaviour
"Attachments" attribute needs to be added to the AWS::SSM::Document resource type when it is created. This is currently supported when creating SSM documents via CLI and API
The Attachments attribute should be an array of AttachmentsSource objects
Use case
When creating an SSM automation document to run packer (similar to AWS-RunPacker), the binary needs to be attached to the document via an "Attachments" attribute. Currently, this cannot be achieved using CloudFormation.
Helpful Links
CreateDocument API Reference
AttachmentsSource object reference
Category
Management & Governance - Systems Manager Documents
This is already in the source code of the resource provider (https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm/blob/master/aws-ssm-document/aws-ssm-document.json#L87),
but not in the released resource (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html)
This is already in the source code of the resource provider (https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm/blob/master/aws-ssm-document/aws-ssm-document.json#L87),
but not in the released resource (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html)
Does this mean that it hasn't been released / made public yet? I tried to use the property but it is showing as an unsupported. Do we know when this change will be available to support attachments?
Looks like this one is released? https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html#cfn-ssm-document-attachments
Most helpful comment
This is already in the source code of the resource provider (https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm/blob/master/aws-ssm-document/aws-ssm-document.json#L87),
but not in the released resource (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html)