Skip to content

Commit 670ee43

Browse files
committedMar 6, 2025
formatting and other things
1 parent 22f33b0 commit 670ee43

File tree

677 files changed

+27817
-832069
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

677 files changed

+27817
-832069
lines changed
 

‎test/fixtures/templates/stackhelper/connect-integration-acqueon/templates/aec-ami.json

-47
Original file line numberDiff line numberDiff line change
@@ -896,53 +896,6 @@
896896
],
897897
"KeyName": {
898898
"Ref": "KeyPairName"
899-
},
900-
"UserData": {
901-
"Fn::Base64": {
902-
"Fn::Join": [
903-
"",
904-
[
905-
"<powershell>\n",
906-
"$text = '{",
907-
"\"PUBLIC_ELB_DNS\":\"",
908-
{
909-
"Ref": "CFDomainName"
910-
},
911-
"\",",
912-
"\"PUBLIC_ELB_PROTOCOL\":\"",
913-
"https",
914-
"\",",
915-
"\"PRIVATE_ELB_DNS\":\"",
916-
{
917-
"Fn::GetAtt": [
918-
"ServiceLB",
919-
"DNSName"
920-
]
921-
},
922-
"\",",
923-
"\"RDS_ENDPOINT\":\"",
924-
{
925-
"Ref": "RDSDB"
926-
},
927-
"\",",
928-
"\"RDS_USERNAME\":\"",
929-
{
930-
"Ref": "DBMasterUser"
931-
},
932-
"\",",
933-
"\"RDS_PASSWORD\":\"",
934-
{
935-
"Ref": "DBMasterPassword"
936-
},
937-
"\"",
938-
"}'",
939-
"\n",
940-
"New-Item -Force -Path 'C:\\Program Files\\LCM\\Acqueon Services\\Data\\serverdetails.json' -value $text -ItemType file",
941-
"\n</powershell>\n",
942-
"<persist>true</persist>"
943-
]
944-
]
945-
}
946899
}
947900
}
948901
},

‎test/fixtures/templates/stackhelper/quickstart-alfresco-content-services/submodules/quickstart-linux-bastion/templates/linux-bastion.template

+11-99
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ Parameters:
137137
- 'true'
138138
- 'false'
139139
Default: 'false'
140-
Description: To include a banner to be displayed when connecting via SSH to the
141-
bastion, choose true.
140+
Description: To include a banner to be displayed when connecting via SSH to the bastion, choose true.
142141
Type: String
143142
EnableTCPForwarding:
144143
Type: String
@@ -155,8 +154,7 @@ Parameters:
155154
- 'true'
156155
- 'false'
157156
KeyPairName:
158-
Description: Name of an existing public/private key pair. If you do not have one in this AWS Region,
159-
please create it before continuing.
157+
Description: Name of an existing public/private key pair. If you do not have one in this AWS Region, please create it before continuing.
160158
Type: 'AWS::EC2::KeyPair::KeyName'
161159
NumBastionHosts:
162160
AllowedValues:
@@ -168,31 +166,22 @@ Parameters:
168166
Description: The number of bastion hosts to create. The maximum number is four.
169167
Type: String
170168
PublicSubnet1ID:
171-
Description: ID of the public subnet 1 that you want to provision the first bastion
172-
into (e.g., subnet-a0246dcd).
169+
Description: ID of the public subnet 1 that you want to provision the first bastion into (e.g., subnet-a0246dcd).
173170
Type: 'AWS::EC2::Subnet::Id'
174171
PublicSubnet2ID:
175-
Description: ID of the public subnet 2 that you want to provision the second bastion into
176-
(e.g., subnet-e3246d8e).
172+
Description: ID of the public subnet 2 that you want to provision the second bastion into (e.g., subnet-e3246d8e).
177173
Type: 'AWS::EC2::Subnet::Id'
178174
QSS3BucketName:
179175
AllowedPattern: '^[0-9a-zA-Z]+([0-9a-zA-Z-]*[0-9a-zA-Z])*$'
180-
ConstraintDescription: Quick Start bucket name can include numbers, lowercase letters, uppercase
181-
letters, and hyphens (-). It cannot start or end with a hyphen (-).
176+
ConstraintDescription: Quick Start bucket name can include numbers, lowercase letters, uppercase letters, and hyphens (-). It cannot start or end with a hyphen (-).
182177
Default: aws-ia
183-
Description: S3 bucket name for the Quick Start assets. Quick Start bucket name can
184-
include numbers, lowercase letters, uppercase letters, and hyphens (-). It
185-
cannot start or end with a hyphen (-).
178+
Description: S3 bucket name for the Quick Start assets. Quick Start bucket name can include numbers, lowercase letters, uppercase letters, and hyphens (-). It cannot start or end with a hyphen (-).
186179
Type: String
187180
QSS3KeyPrefix:
188181
AllowedPattern: '^([0-9a-zA-Z-.]+/)*$'
189-
ConstraintDescription: Quick Start key prefix can include numbers, lowercase letters, uppercase
190-
letters, hyphens (-), dots (.) and forward slash (/). The prefix should
191-
end with a forward slash (/).
182+
ConstraintDescription: Quick Start key prefix can include numbers, lowercase letters, uppercase letters, hyphens (-), dots (.) and forward slash (/). The prefix should end with a forward slash (/).
192183
Default: quickstart-linux-bastion/
193-
Description: S3 key prefix for the Quick Start assets. Quick Start key prefix can
194-
include numbers, lowercase letters, uppercase letters, hyphens (-), dots
195-
(.) and forward slash (/) and it should end with a forward slash (/).
184+
Description: S3 key prefix for the Quick Start assets. Quick Start key prefix can include numbers, lowercase letters, uppercase letters, hyphens (-), dots (.) and forward slash (/) and it should end with a forward slash (/).
196185
Type: String
197186
RemoteAccessCIDR:
198187
AllowedPattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$
@@ -213,14 +202,11 @@ Parameters:
213202
Type: String
214203
Default: ''
215204
AlternativeIAMRole:
216-
Description: An existing IAM Role name to attach to the bastion. If left blank,
217-
a new role will be created.
205+
Description: An existing IAM Role name to attach to the bastion. If left blank, a new role will be created.
218206
Default: ''
219207
Type: String
220208
EnvironmentVariables:
221-
Description: A comma-separated list of environment variables for use in
222-
bootstrapping. Variables must be in the format KEY=VALUE. VALUE cannot
223-
contain commas.
209+
Description: A comma-separated list of environment variables for use in bootstrapping. Variables must be in the format KEY=VALUE. VALUE cannot contain commas.
224210
Type: String
225211
Default: ''
226212
RootVolumeSize:
@@ -241,8 +227,7 @@ Mappings:
241227
AWSAMIRegionMap:
242228
AMI:
243229
AMZNLINUXHVM: amzn-ami-hvm-2018.03.0.20181129-x86_64-gp2
244-
CENTOS7HVM: CentOS Linux 7 x86_64 HVM EBS ENA
245-
1805_01-b7ee8a69-ee97-4a49-9e68-afaee216db2e-ami-77ec9308.4
230+
CENTOS7HVM: CentOS Linux 7 x86_64 HVM EBS ENA 1805_01-b7ee8a69-ee97-4a49-9e68-afaee216db2e-ami-77ec9308.4
246231
US1404HVM: ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20181022
247232
US1604HVM: ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20181223
248233
SLES15HVM: suse-sles-15-v20180816-hvm-ssd-x86_64
@@ -575,79 +560,6 @@ Resources:
575560
VolumeType: gp2
576561
Encrypted: true
577562
DeleteOnTermination: true
578-
UserData: !Base64
579-
'Fn::Join':
580-
- ''
581-
- - |
582-
#!/bin/bash
583-
- |
584-
set -x
585-
- for e in $(echo "
586-
- !Ref EnvironmentVariables
587-
- |
588-
" | tr ',' ' '); do
589-
- |2
590-
export $e
591-
- |
592-
done
593-
- |
594-
export PATH=$PATH:/usr/local/bin
595-
- |
596-
which pip &> /dev/null
597-
- |
598-
if [ $? -ne 0 ] ; then
599-
- |2
600-
echo "PIP NOT INSTALLED"
601-
- |2
602-
[ `which yum` ] && $(yum install -y epel-release; yum install -y python-pip) && echo "PIP INSTALLED"
603-
- |2
604-
[ `which apt-get` ] && apt-get -y update && apt-get -y install python-pip && echo "PIP INSTALLED"
605-
- |2
606-
[ `which zypper` ] && zypper refresh && zypper install -y python-pip && update-alternatives --set easy_install /usr/bin/easy_install-2.7 && echo "PIP INSTALLED"
607-
- |
608-
fi
609-
- |
610-
pip install --upgrade pip &> /dev/null
611-
- |
612-
pip install awscli --ignore-installed six &> /dev/null
613-
- >
614-
easy_install
615-
https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
616-
- EIP_LIST="
617-
- !Ref EIP1
618-
- ','
619-
- !If
620-
- 2BastionCondition
621-
- !Ref EIP2
622-
- 'Null'
623-
- ','
624-
- !If
625-
- 3BastionCondition
626-
- !Ref EIP3
627-
- 'Null'
628-
- ','
629-
- !If
630-
- 4BastionCondition
631-
- !Ref EIP4
632-
- 'Null'
633-
- |
634-
"
635-
- CLOUDWATCHGROUP=
636-
- !Ref BastionMainLogGroup
637-
- |+
638-
639-
- 'cfn-init -v --stack '
640-
- !Ref 'AWS::StackName'
641-
- ' --resource BastionLaunchConfiguration --region '
642-
- !Ref 'AWS::Region'
643-
- |+
644-
645-
- 'cfn-signal -e $? --stack '
646-
- !Ref 'AWS::StackName'
647-
- ' --resource BastionAutoScalingGroup --region '
648-
- !Ref 'AWS::Region'
649-
- |+
650-
651563
BastionSecurityGroup:
652564
Type: 'AWS::EC2::SecurityGroup'
653565
Properties:

0 commit comments

Comments
 (0)