Added CAPABILITY_IAM to base stack creation
parent
75e8e5dc74
commit
3ab46082c0
|
|
@ -943,6 +943,7 @@ class AWSBuildEnvironment {
|
||||||
yield CF.createStack({
|
yield CF.createStack({
|
||||||
StackName: taskDefStackName,
|
StackName: taskDefStackName,
|
||||||
TemplateBody: taskDefCloudFormation,
|
TemplateBody: taskDefCloudFormation,
|
||||||
|
Capabilities: ['CAPABILITY_IAM'],
|
||||||
Parameters: [
|
Parameters: [
|
||||||
{
|
{
|
||||||
ParameterKey: 'ImageUrl',
|
ParameterKey: 'ImageUrl',
|
||||||
|
|
@ -1038,6 +1039,7 @@ class AWSBuildEnvironment {
|
||||||
yield CF.createStack({
|
yield CF.createStack({
|
||||||
StackName: baseStackName,
|
StackName: baseStackName,
|
||||||
TemplateBody: baseStack,
|
TemplateBody: baseStack,
|
||||||
|
Capabilities: ['CAPABILITY_IAM'],
|
||||||
Parameters: [
|
Parameters: [
|
||||||
{ ParameterKey: 'EnvironmentName', ParameterValue: 'development' },
|
{ ParameterKey: 'EnvironmentName', ParameterValue: 'development' },
|
||||||
{ ParameterKey: 'Storage', ParameterValue: `${baseStackName}-storage` },
|
{ ParameterKey: 'Storage', ParameterValue: `${baseStackName}-storage` },
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -144,6 +144,7 @@ class AWSBuildEnvironment implements RemoteBuilderProviderInterface {
|
||||||
await CF.createStack({
|
await CF.createStack({
|
||||||
StackName: taskDefStackName,
|
StackName: taskDefStackName,
|
||||||
TemplateBody: taskDefCloudFormation,
|
TemplateBody: taskDefCloudFormation,
|
||||||
|
Capabilities: ['CAPABILITY_IAM'],
|
||||||
Parameters: [
|
Parameters: [
|
||||||
{
|
{
|
||||||
ParameterKey: 'ImageUrl',
|
ParameterKey: 'ImageUrl',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue