To ease common scenarios, the Create action allows to Update [the] stack, if it already exists, similarly the Update action allows to Create [the] stack, if it does not already exist. |
To configure an AWS CloudFormation task:
Complete the following settings:
Common to all tasks
Actions supported by this task:
Create Stack | ||
Update stack, if it already exists | Check to apply the Update action, if the stack already exists. Clear to trigger a build failure otherwise. | |
Stack Name | Specify the stack name. | |
Template Source | Specify the stack template source as an S3 URL or inline in JSON format. Insert fragments from the inline Examples dialog to get started.
| |
Parameters | (Optional) Specify parameters in JSON format. Insert fragments from the inline Examples dialog to get started. | |
Advanced Options | ||
Tags | (Optional) Tag the stack. | |
Notification ARNs | (Optional) Specify the Amazon SNS topic ARN(s) for publishing stack related events (either a single ARN, or a JSON array with up to five ARNs). | |
Creation Timeout (minutes) | Specify how much time can pass before the stack creation is considered failed. | |
On failure action | Select the action that will be taken if stack creation fails.
| |
Enable IAM | (Optional) Check if the stack should be allowed to access IAM resources.
| |
Stack Policy Source | (Optional) Specify which update actions users can do and which resources they can take action on. See the Stack Policy Reference and Sample Stack Policies for details. | |
Update Stack | ||
Create stack, if it does not already exist | Check to apply the Create action, if the stack does not already exists. Clear to trigger a build failure otherwise. | |
Don't fail for no-op update | Check to not fail the build, if the update does not have affect any resource. Clear to trigger a build failure otherwise. | |
Stack Name or ID | Specify the stack name or ID. | |
Stack Template Source | see Create above | |
Parameters | see Create above | |
Advanced Options | ||
Tags | see Create above | |
Notification ARNs | see Create above | |
Enable IAM | see Create above | |
Stack Policy Source | see Update above | |
Stack Policy During Update Source | (Optional) Override which update actions users can do and which resources they can take action on. See the Stack Policy Reference and Sample Stack Policies for details. | |
Delete Stack | ||
Stack Name or ID | see Update above | |
Don't fail for non existing stack | Check to not fail the build, if the stack does not exist (anymore). Clear to trigger a build failure otherwise. | |
Validate Template(s) |
| |
Stack Template Source | see Create above
|
Creating common variables for 1 resources affected by task: ... bamboo.custom.aws.cfn.stack.resources: SampleStack-TAWS-IT230-CFN2-24 Creating resource variables for stack 'SampleStack-TAWS-IT230-CFN2-24': ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.StackId: arn:aws:cloudformation:us-east-1:309600995652:stack/SampleStack-TAWS-IT230-CFN2-24/d6620400-2ffc-11e5-b660-50e2415b5e18 ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.StackStatus: CREATE_COMPLETE ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.StackName: SampleStack-TAWS-IT230-CFN2-24 ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.CreationTime: 20150721T230428Z ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.LastUpdatedTime: 20150721T230500Z ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.tags: Environment;Cost-Centre ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.tags.Environment: Test ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.tags.Cost-Centre: Development ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.parameters: QueueName ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.parameters.QueueName: Bamboo-24 ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue: ResourceStatus;LogicalResourceId;PhysicalResourceId;Timestamp ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.ResourceStatus: CREATE_COMPLETE ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.LogicalResourceId: MyQueue ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.PhysicalResourceId: https://sqs.us-east-1.amazonaws.com/309600995652/Bamboo-24 ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.Timestamp: 20150721T230442Z ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources: MyQueue Stack 'SampleStack-TAWS-IT230-CFN2-24' generated 2 outputs: ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.outputs: QueueURL;QueueARN ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.outputs.QueueURL: https://sqs.us-east-1.amazonaws.com/309600995652/Bamboo-24 ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.outputs.QueueARN: arn:aws:sqs:us-east-1:309600995652:Bamboo-24 Creating common variables for first resource affected by task: Creating resource variables for stack 'SampleStack-TAWS-IT230-CFN2-24': ... bamboo.custom.aws.cfn.stack.first.StackId: arn:aws:cloudformation:us-east-1:309600995652:stack/SampleStack-TAWS-IT230-CFN2-24/d6620400-2ffc-11e5-b660-50e2415b5e18 ... bamboo.custom.aws.cfn.stack.first.StackStatus: CREATE_COMPLETE ... bamboo.custom.aws.cfn.stack.first.StackName: SampleStack-TAWS-IT230-CFN2-24 ... bamboo.custom.aws.cfn.stack.first.CreationTime: 20150721T230428Z ... bamboo.custom.aws.cfn.stack.first.LastUpdatedTime: 20150721T230500Z ... bamboo.custom.aws.cfn.stack.first.tags: Environment;Cost-Centre ... bamboo.custom.aws.cfn.stack.first.tags.Environment: Test ... bamboo.custom.aws.cfn.stack.first.tags.Cost-Centre: Development ... bamboo.custom.aws.cfn.stack.first.parameters: QueueName ... bamboo.custom.aws.cfn.stack.first.parameters.QueueName: Bamboo-24 ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue: ResourceStatus;LogicalResourceId;PhysicalResourceId;Timestamp ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.ResourceStatus: CREATE_COMPLETE ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.LogicalResourceId: MyQueue ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.PhysicalResourceId: https://sqs.us-east-1.amazonaws.com/309600995652/Bamboo-24 ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.Timestamp: 20150721T230442Z ... bamboo.custom.aws.cfn.stack.first.resources: MyQueue Stack 'SampleStack-TAWS-IT230-CFN2-24' generated 2 outputs: ... bamboo.custom.aws.cfn.stack.first.outputs: QueueURL;QueueARN ... bamboo.custom.aws.cfn.stack.first.outputs.QueueURL: https://sqs.us-east-1.amazonaws.com/309600995652/Bamboo-24 ... bamboo.custom.aws.cfn.stack.first.outputs.QueueARN: arn:aws:sqs:us-east-1:309600995652:Bamboo-24 |
Creating common variables for 1 resources affected by task: ... bamboo.custom.aws.cfn.stack.resources: SampleStack-TAWS-IT230-CFN2-24 Creating resource variables for stack 'SampleStack-TAWS-IT230-CFN2-24': ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.StackId: arn:aws:cloudformation:us-east-1:309600995652:stack/SampleStack-TAWS-IT230-CFN2-24/d6620400-2ffc-11e5-b660-50e2415b5e18 ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.StackStatus: UPDATE_COMPLETE ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.StackName: SampleStack-TAWS-IT230-CFN2-24 ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.CreationTime: 20150721T230428Z ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.LastUpdatedTime: 20150721T230501Z ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.tags: Environment;Cost-Centre ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.tags.Environment: Test ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.tags.Cost-Centre: Development ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.parameters: QueueName ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.parameters.QueueName: Bamboo-24-updated ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue: ResourceStatus;LogicalResourceId;PhysicalResourceId;Timestamp ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.ResourceStatus: UPDATE_COMPLETE ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.LogicalResourceId: MyQueue ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.PhysicalResourceId: https://sqs.us-east-1.amazonaws.com/309600995652/Bamboo-24-updated ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.Timestamp: 20150721T230511Z ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources: MyQueue Stack 'SampleStack-TAWS-IT230-CFN2-24' generated 2 outputs: ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.outputs: QueueURL;QueueARN ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.outputs.QueueURL: https://sqs.us-east-1.amazonaws.com/309600995652/Bamboo-24-updated ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.outputs.QueueARN: arn:aws:sqs:us-east-1:309600995652:Bamboo-24-updated Creating common variables for first resource affected by task: Creating resource variables for stack 'SampleStack-TAWS-IT230-CFN2-24': ... bamboo.custom.aws.cfn.stack.first.StackId: arn:aws:cloudformation:us-east-1:309600995652:stack/SampleStack-TAWS-IT230-CFN2-24/d6620400-2ffc-11e5-b660-50e2415b5e18 ... bamboo.custom.aws.cfn.stack.first.StackStatus: UPDATE_COMPLETE ... bamboo.custom.aws.cfn.stack.first.StackName: SampleStack-TAWS-IT230-CFN2-24 ... bamboo.custom.aws.cfn.stack.first.CreationTime: 20150721T230428Z ... bamboo.custom.aws.cfn.stack.first.LastUpdatedTime: 20150721T230501Z ... bamboo.custom.aws.cfn.stack.first.tags: Environment;Cost-Centre ... bamboo.custom.aws.cfn.stack.first.tags.Environment: Test ... bamboo.custom.aws.cfn.stack.first.tags.Cost-Centre: Development ... bamboo.custom.aws.cfn.stack.first.parameters: QueueName ... bamboo.custom.aws.cfn.stack.first.parameters.QueueName: Bamboo-24-updated ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue: ResourceStatus;LogicalResourceId;PhysicalResourceId;Timestamp ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.ResourceStatus: UPDATE_COMPLETE ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.LogicalResourceId: MyQueue ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.PhysicalResourceId: https://sqs.us-east-1.amazonaws.com/309600995652/Bamboo-24-updated ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.Timestamp: 20150721T230511Z ... bamboo.custom.aws.cfn.stack.first.resources: MyQueue Stack 'SampleStack-TAWS-IT230-CFN2-24' generated 2 outputs: ... bamboo.custom.aws.cfn.stack.first.outputs: QueueURL;QueueARN ... bamboo.custom.aws.cfn.stack.first.outputs.QueueURL: https://sqs.us-east-1.amazonaws.com/309600995652/Bamboo-24-updated ... bamboo.custom.aws.cfn.stack.first.outputs.QueueARN: arn:aws:sqs:us-east-1:309600995652:Bamboo-24-updated |
Creating common variables for 1 resources affected by task: ... bamboo.custom.aws.cfn.stack.resources: SampleStack-TAWS-IT230-CFN2-24 Creating resource variables for stack 'SampleStack-TAWS-IT230-CFN2-24': ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.StackId: arn:aws:cloudformation:us-east-1:309600995652:stack/SampleStack-TAWS-IT230-CFN2-24/d6620400-2ffc-11e5-b660-50e2415b5e18 ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.StackStatus: DELETE_COMPLETE ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.StackName: SampleStack-TAWS-IT230-CFN2-24 ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.CreationTime: 20150721T230428Z ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.LastUpdatedTime: 20150721T230501Z ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.tags: Environment;Cost-Centre ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.tags.Environment: Test ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.tags.Cost-Centre: Development ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.parameters: QueueName ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.parameters.QueueName: Bamboo-24-updated ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue:ResourceStatus;LogicalResourceId;PhysicalResourceId;Timestamp ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.ResourceStatus: DELETE_COMPLETE ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.LogicalResourceId: MyQueue ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.PhysicalResourceId: https://sqs.us-east-1.amazonaws.com/309600995652/Bamboo-24-updated ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources.MyQueue.Timestamp: 20150721T230557Z ... bamboo.custom.aws.cfn.stack.resources.SampleStack-TAWS-IT230-CFN2-24.resources: MyQueue Creating common variables for first resource affected by task: Creating resource variables for stack 'SampleStack-TAWS-IT230-CFN2-24': ... bamboo.custom.aws.cfn.stack.first.StackId: arn:aws:cloudformation:us-east-1:309600995652:stack/SampleStack-TAWS-IT230-CFN2-24/d6620400-2ffc-11e5-b660-50e2415b5e18 ... bamboo.custom.aws.cfn.stack.first.StackStatus: DELETE_COMPLETE ... bamboo.custom.aws.cfn.stack.first.StackName: SampleStack-TAWS-IT230-CFN2-24 ... bamboo.custom.aws.cfn.stack.first.CreationTime: 20150721T230428Z ... bamboo.custom.aws.cfn.stack.first.LastUpdatedTime: 20150721T230501Z ... bamboo.custom.aws.cfn.stack.first.tags: Environment;Cost-Centre ... bamboo.custom.aws.cfn.stack.first.tags.Environment: Test ... bamboo.custom.aws.cfn.stack.first.tags.Cost-Centre: Development ... bamboo.custom.aws.cfn.stack.first.parameters: QueueName ... bamboo.custom.aws.cfn.stack.first.parameters.QueueName: Bamboo-24-updated ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue: ResourceStatus;LogicalResourceId;PhysicalResourceId;Timestamp ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.ResourceStatus: DELETE_COMPLETE ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.LogicalResourceId: MyQueue ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.PhysicalResourceId: https://sqs.us-east-1.amazonaws.com/309600995652/Bamboo-24-updated ... bamboo.custom.aws.cfn.stack.first.resources.MyQueue.Timestamp: 20150721T230557Z ... bamboo.custom.aws.cfn.stack.first.resources: MyQueue |
N/A
CloudFormation Variables had been named inconsistently in previous versions of this add-on - the following names are deprecated, but remain available for compatibility reasons for the time being:
bamboo.custom.aws.cfn.stack.resources=i-3280997f;vol-e1debbcd;test-stack-SecurityGroup-KZWPADIUPCL6
bamboo.custom.aws.cfn.stack.i-3280997f=CREATE_COMPLETE
bamboo.custom.aws.cfn.stack.outputs=sampleStackOutputKey;StringWithRegex;...
bamboo.custom.aws.cfn.stack.StringWithRegex=Hello
bamboo.StringWithRegex=Hello
)