Skip to content

Commit

Permalink
see if this results in proper capabilities handling
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Sep 10, 2024
1 parent 0117225 commit 95561c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
cfn_capabilities:
description: "Comma separated list of capabilities to enable. (values: CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, CAPABILITY_RESOURCE_POLICY)"
required: false
default: CAPABILITY_IAM
default: CAPABILITY_IAM,CAPABILITY_NAMED_IAM
cfn_exec_role_name:
description: Name of CloudFormation IAM execution role
required: false
Expand Down Expand Up @@ -160,7 +160,6 @@ runs:
S3_PREFIX: ${{ steps.set-sam-s3-prefix.outputs.s3-prefix }}
STACK_NAME: ${{ steps.set-stack-name.outputs.name }}
TEMPLATE_FILE: ${{ inputs.template_file }}
CFN_CAPABILITIES: ${{ inputs.cfn_capabilities }}
CFN_TAGS: ${{ steps.process-aws-tags.outputs.tags }}
CFN_PARAMS: ${{ steps.process-aws-parameters.outputs.parameters }}
shell: bash
Expand All @@ -173,6 +172,6 @@ runs:
--role-arn arn:aws:iam::${ACCOUNT_ID}:role/${CFN_EXEC_ROLE} \
--region ${REGION} \
--on-failure DELETE \
--capabilities ${CFN_CAPABILITIES} \
--capabilities ${{ inputs.cfn_capabilities }} \
--parameter-overrides "${CFN_PARAMS}" \
--tags "${CFN_TAGS}"

0 comments on commit 95561c9

Please sign in to comment.