-
-
Notifications
You must be signed in to change notification settings - Fork 558
Open
Description
cookbook version: 8.3.0
chef_version: 14.13.11
gems:
aws-sdk-core 3.109.1
aws-sdk-ssm 1.95.0
sample code:
aws_ssm_parameter_store "adding" do
path '/aws/reference/secretsmanager/path/to/my/secret'
description 'testing'
value 'removed'
with_decryption true # this doesnt seem to do anything
sensitive true
key_id 'removed'
region 'removed'
action :create
end
================================================================================
Error executing action `create` on resource 'aws_ssm_parameter_store[adding Test Application token to secrets_manager]'
================================================================================
Aws::SSM::Errors::ValidationException
-------------------------------------
WithDecryption flag must be True for retrieving a Secret Manager secret.
Cookbook Trace:
---------------
/tmp/kitchen/cache/cookbooks/aws/resources/ssm_parameter_store.rb:136:in `write_parameter'
/tmp/kitchen/cache/cookbooks/aws/resources/ssm_parameter_store.rb:97:in `block in class_from_file'
Metadata
Metadata
Assignees
Labels
No labels