We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a846029 commit 7e7b9b8Copy full SHA for 7e7b9b8
cloudformation/cfncluster.cfn.json
@@ -1976,6 +1976,18 @@
1976
}
1977
1978
},
1979
+ "NewInstanceProfile": {
1980
+ "Type": "AWS::IAM::InstanceProfile",
1981
+ "Properties": {
1982
+ "Path": "/",
1983
+ "Roles": [
1984
+ {
1985
+ "Ref": "EC2IAMRoleName"
1986
+ }
1987
+ ]
1988
+ },
1989
+ "Condition": "UseEC2IAMRole"
1990
1991
"CfnClusterPolicies": {
1992
"Type": "AWS::IAM::Policy",
1993
"Properties": {
@@ -2427,7 +2439,7 @@
2427
2439
"Fn::If": [
2428
2440
"UseEC2IAMRole",
2429
2441
{
2430
- "Ref": "EC2IAMRoleName"
2442
+ "Ref": "NewInstanceProfile"
2431
2443
2432
2444
2433
2445
"Ref": "RootInstanceProfile"
@@ -3001,7 +3013,7 @@
3001
3013
3002
3014
3003
3015
3004
3016
3005
3017
3006
3018
3007
3019
0 commit comments