classmethod / gradle-aws-plugin

Gradle plugin to manage Amazon Web Services
276 stars 132 forks source link

Set roleArn on the awsCfnMigrateStack task. #183

Closed tkgregory closed 5 years ago

tkgregory commented 5 years ago

The AmazonCloudFormationMigrateStackTask class uses the AWS Java SDK class UpdateStackRequest which allows roleARN to be passed in.

The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to update the stack.

This change exposes this so that the value is pulled in from the cfnRoleArn configuration variable. e.g.

cloudFormation {
    stackName 'test-stack'
    templateFile project.file('stack.yml')
    cfnRoleArn 'my-special-role'
}
tkgregory commented 4 years ago

@dai0304 when were you planning to release?

tkgregory commented 4 years ago

@dai0304 would really appreciate if you can release 0.42.0 because at the moment I'm having to manually update the role on all my CloudFormation stacks. Thanks!