Skip to content

Commit bcf11b2

Browse files
Sean Smithsean-smith
authored andcommitted
Remove Old Paramters
Signed-off-by: Sean Smith <[email protected]>
1 parent e917df6 commit bcf11b2

File tree

4 files changed

+2
-88
lines changed

4 files changed

+2
-88
lines changed

cli/cfncluster/cfnconfig.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ def __init__(self, args):
228228
placement=('Placement',None), placement_group=('PlacementGroup','EC2PlacementGroup'),
229229
encrypted_ephemeral=('EncryptedEphemeral',None),pre_install_args=('PreInstallArgs',None),
230230
post_install_args=('PostInstallArgs',None), s3_read_resource=('S3ReadResource',None),
231-
s3_read_write_resource=('S3ReadWriteResource',None),cwl_region=('CWLRegion',None),
232-
cwl_log_group=('CWLLogGroup',None),shared_dir=('SharedDir',None),tenancy=('Tenancy',None),
231+
s3_read_write_resource=('S3ReadWriteResource',None),shared_dir=('SharedDir',None),tenancy=('Tenancy',None),
233232
ephemeral_kms_key_id=('EphemeralKMSKeyId',None), cluster_ready=('ClusterReadyScript','URL'),
234233
master_root_volume_size=('MasterRootVolumeSize',None),compute_root_volume_size=('ComputeRootVolumeSize',None),
235234
base_os=('BaseOS',None),ec2_iam_role=('EC2IAMRoleName','EC2IAMRoleName'),extra_json=('ExtraJson',None),

cli/cfncluster/examples/config

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ key_name = mykey
103103
#base_os = alinux
104104
# CloudWatch Logs region
105105
# (defaults to NONE in the default template)
106-
#cwl_region = NONE
107-
# CloudWatch Logs Log Group name
108-
# (defaults to NONE in the default template)
109-
#cwl_log_group = NONE
110-
# Existing EC2 IAM role to be assosiated with the EC2 instances
111-
# (defaults to NONE in the default template)
112106
#ec2_iam_role = NONE
113107
# Extra Json to be merged with the dna.json used by Chef
114108
# (defaults to {} in the default template)

cloudformation/cfncluster.cfn.json

Lines changed: 1 addition & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@
7171
"EncryptedEphemeral",
7272
"EphemeralDir",
7373
"SharedDir",
74-
"CWLRegion",
75-
"CWLLogGroup",
7674
"CustomChefRunList",
7775
"CustomChefCookbook",
7876
"ExtraJson",
@@ -193,12 +191,6 @@
193191
"S3ReadWriteResource": {
194192
"default": "s3_read_write_resource"
195193
},
196-
"CWLRegion": {
197-
"default": "cwl_region"
198-
},
199-
"CWLLogGroup": {
200-
"default": "cwl_log_group"
201-
},
202194
"ProxyServer": {
203195
"default": "proxy_server"
204196
},
@@ -268,9 +260,6 @@
268260
"ScaleDownIdleTime": {
269261
"default": "scaledown_idletime"
270262
},
271-
"ScalingThreshold2": {
272-
"default": "scaling_threshold2"
273-
},
274263
"ComputeWaitConditionCount": {
275264
"default": "WAIT COUNT"
276265
},
@@ -926,6 +915,7 @@
926915
"Default": "/shared"
927916
},
928917
"CLITemplate": {
918+
"Description": "cluster_template section used in the config.",
929919
"Type": "String",
930920
"Default": "default"
931921
},
@@ -935,16 +925,6 @@
935925
"Default": "NONE",
936926
"AllowedPattern": "(NONE|^sg-[0-9a-z]{8}$|^sg-[0-9a-z]{17}$)"
937927
},
938-
"CWLRegion": {
939-
"Description": "CloudWatch Logs region",
940-
"Type": "String",
941-
"Default": "NONE"
942-
},
943-
"CWLLogGroup": {
944-
"Description": "CloudWatch Logs LogGroup",
945-
"Type": "String",
946-
"Default": "NONE"
947-
},
948928
"CustomChefRunList": {
949929
"Description": "Custom run list, which will override the default",
950930
"Type": "String",
@@ -1422,34 +1402,6 @@
14221402
}
14231403
]
14241404
},
1425-
"CloudWatchLogs": {
1426-
"Fn::And": [
1427-
{
1428-
"Fn::Not": [
1429-
{
1430-
"Fn::Equals": [
1431-
{
1432-
"Ref": "CWLRegion"
1433-
},
1434-
"NONE"
1435-
]
1436-
}
1437-
]
1438-
},
1439-
{
1440-
"Fn::Not": [
1441-
{
1442-
"Fn::Equals": [
1443-
{
1444-
"Ref": "CWLLogGroup"
1445-
},
1446-
"NONE"
1447-
]
1448-
}
1449-
]
1450-
}
1451-
]
1452-
},
14531405
"AddAdditionalSG": {
14541406
"Fn::Not": [
14551407
{
@@ -2075,27 +2027,6 @@
20752027
"Resource": [
20762028
"*"
20772029
]
2078-
},
2079-
{
2080-
"Sid": "CloudWatchLogs",
2081-
"Action": [
2082-
"logs:*"
2083-
],
2084-
"Effect": "Allow",
2085-
"Resource": [
2086-
{
2087-
"Fn::Join": [
2088-
"",
2089-
[
2090-
"arn:",
2091-
{
2092-
"Ref": "AWS::Partition"
2093-
},
2094-
":logs:*:*:*"
2095-
]
2096-
]
2097-
}
2098-
]
20992030
}
21002031
]
21012032
},

docs/source/iam.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,6 @@ CfnClusterInstancePolicy
116116
],
117117
"Sid": "SQSList",
118118
"Effect": "Allow"
119-
},
120-
{
121-
"Resource": [
122-
"arn:aws:logs:*:*:*"
123-
],
124-
"Action": [
125-
"logs:*"
126-
],
127-
"Sid": "CloudWatchLogs",
128-
"Effect": "Allow"
129119
}
130120
]
131121
}

0 commit comments

Comments
 (0)