Skip to content

Commit 63f097d

Browse files
Lint fixes
1 parent 90377bf commit 63f097d

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

modules/foundational.cft.yaml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ Metadata:
1010
- ExternalID
1111
- TrustedIdentity
1212
- IsOrganizational
13-
- OrganizationalUnitIDs
13+
#- OrganizationalUnitIDs
1414
- Partition
1515
- RootOUID
1616
- IncludeOUIDs
17-
- ExcludeOUIDs
1817
- IncludeAccounts
1918
- ExcludeAccounts
2019
ParameterLabels:
@@ -26,16 +25,14 @@ Metadata:
2625
default: Trusted Identity
2726
IsOrganizational:
2827
default: Is Organizational
29-
OrganizationalUnitIDs:
30-
default: (Deprecated, use RootOUID or IncludeOUIDs instead) Organizational Unit IDs
28+
#OrganizationalUnitIDs:
29+
# default: (Deprecated, use RootOUID or IncludeOUIDs instead) Organizational Unit IDs
3130
Partition:
3231
default: AWS Partition
3332
RootOUID:
3433
default: Root Organization Unit ID
3534
IncludeOUIDs:
3635
default: Include Organizational Unit IDs
37-
ExcludeOUIDs:
38-
default: Exclude Organizational Unit IDs
3936
IncludeAccounts:
4037
default: Include AWS accounts
4138
ExcludeAccounts:
@@ -60,9 +57,9 @@ Parameters:
6057
AllowedValues:
6158
- 'true'
6259
- 'false'
63-
OrganizationalUnitIDs:
64-
Type: CommaDelimitedList
65-
Description: (Deprecated, use RootOUID or IncludeOUIDs instead) Comma separated list of organizational unit IDs to deploy
60+
# OrganizationalUnitIDs:
61+
# Type: CommaDelimitedList
62+
# Description: (Deprecated, use RootOUID or IncludeOUIDs instead) Comma separated list of organizational unit IDs to deploy
6663
Partition:
6764
Type: String
6865
Description: AWS Partition of your account or organization to create resources in
@@ -73,9 +70,6 @@ Parameters:
7370
IncludeOUIDs:
7471
Type: CommaDelimitedList
7572
Description: Comma separated list of organizational unit IDs to be included for deployment
76-
ExcludeOUIDs:
77-
Type: CommaDelimitedList
78-
Description: Comma separated list of organizational unit IDs to be excluded for deployment
7973
IncludeAccounts:
8074
Type: CommaDelimitedList
8175
Description: Comma separated list of AWS accounts in your organization to be included for deployment
@@ -114,7 +108,7 @@ Conditions:
114108
- !Not
115109
- !Condition AccountInclusionsConfigured
116110

117-
# cannot do OU exclusions since CFT templates are static and don't have a way to fetch dynamic data from AWS
111+
# cannot do OU exclusions from ExcludeOUIDs since CFT templates are static and don't have a way to fetch dynamic data from AWS
118112
AccountExclusionsConfigured:
119113
!And
120114
- !Condition IsOrganizational
@@ -248,7 +242,7 @@ Resources:
248242
Fn::If:
249243
- AccountExclusionsConfigured
250244
- !Ref ExcludeAccounts
251-
- null
245+
- !Ref 'AWS::NoValue'
252246
Regions:
253247
- Ref: AWS::Region
254248
TemplateBody: |

0 commit comments

Comments
 (0)