Skip to content
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

Update SSM CreateDocument example for AWSCLI v2. #1003

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

cartermckinnon
Copy link
Member

Description of changes:

AWSCLI v2 does not have the same semantics for the --content flag to aws ssm create-document. Previously, you could pass any URL; now the only scheme allowed is file://.

Closes #716 .

Testing Done

Tested this example command with:

aws-cli/2.4.13 Python/3.8.8 Darwin/21.4.0 exe/x86_64 prompt/off

Document created successfully. Previous command did not work.

@cartermckinnon cartermckinnon requested a review from mmerkes August 23, 2022 16:57
@cartermckinnon cartermckinnon added the documentation Documentation issue label Aug 23, 2022
@cartermckinnon cartermckinnon changed the title Update example for AWSCLI v2. Update SSM CreateDocument example for AWSCLI v2. Aug 23, 2022
Copy link
Member

@mmerkes mmerkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cartermckinnon cartermckinnon merged commit 2acffd1 into master Aug 23, 2022
@cartermckinnon cartermckinnon deleted the ssm-content-semantics branch August 23, 2022 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EKS Log Collector - InvalidDocumentContent
2 participants