Skip to content

Commit

Permalink
added a unique template id output to make future automation easier
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Feb 17, 2017
1 parent 2cc40c8 commit c4595c3
Show file tree
Hide file tree
Showing 19 changed files with 60 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ec2/ec2-auto-recovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ Resources:
- Name: InstanceId
Value: !Ref VirtualMachine
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'ec2/ec2-auto-recovery'
IPAddress:
Description: 'The public IP address of the EC2 instance.'
Value: !Ref ElasticIP
Expand Down
3 changes: 3 additions & 0 deletions jenkins/jenkins2-ha-agents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1585,6 +1585,9 @@ Resources:
ComparisonOperator: LessThanOrEqualToThreshold
MetricName: BuildActive
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'jenkins/jenkins2-ha-agents'
AdminUsername:
Description: 'User name for the Jenkins admin.'
Value: admin
Expand Down
3 changes: 3 additions & 0 deletions jenkins/jenkins2-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,9 @@ Resources:
PauseTime: PT15M
WaitOnResourceSignals: true
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'jenkins/jenkins2-ha'
AdminUsername:
Description: 'User name for the Jenkins admin.'
Value: admin
Expand Down
4 changes: 4 additions & 0 deletions security/account-password-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,7 @@ Resources:
Version: '1.0'
Properties:
ServiceToken: !GetAtt 'LambdaFunction.Arn'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'security/account-password-policy'
3 changes: 3 additions & 0 deletions security/auth-proxy-ha-github-orga.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,9 @@ Resources:
PauseTime: PT10M
WaitOnResourceSignals: true
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'security/auth-proxy-ha-github-orga'
SecurityGroup:
Description: 'Use this Security Group to reference incoming traffic from the auth proxy.'
Value: !Ref SecurityGroup
Expand Down
4 changes: 4 additions & 0 deletions security/cloudtrail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,7 @@ Resources:
CloudWatchLogsLogGroupArn: !GetAtt 'TrailLogGroup.Arn'
CloudWatchLogsRoleArn: !GetAtt 'TrailLogGroupRole.Arn'
SnsTopicName: !GetAtt 'TrailTopic.TopicName'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'security/cloudtrail'
4 changes: 4 additions & 0 deletions security/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,7 @@ Resources:
AllSupported: true
IncludeGlobalResourceTypes: true
RoleARN: !If [InternalBucket, !GetAtt 'ConfigurationRecorderRole.Arn', !GetAtt 'ExternalConfigurationRecorderRole.Arn']
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'security/config'
3 changes: 3 additions & 0 deletions static-website/static-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ Resources:
HostedZoneId: Z2FDTNDATAQYW2
DNSName: !GetAtt 'CloudFrontDistributionRedirect.DomainName'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'static-website/static-website'
URL:
Description: 'URL to static website.'
Value: !Sub 'https://${DomainName}'
Expand Down
3 changes: 3 additions & 0 deletions vpc/vpc-2azs-legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ Resources:
Properties:
BucketName: !Ref 'AWS::StackName'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'vpc/vpc-2azs-legacy'
AZs:
Description: 'AZs'
Value: 2
Expand Down
3 changes: 3 additions & 0 deletions vpc/vpc-2azs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ Resources:
Egress: true
CidrBlock: '0.0.0.0/0'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'vpc/vpc-2azs'
AZs:
Description: 'AZs'
Value: 2
Expand Down
3 changes: 3 additions & 0 deletions vpc/vpc-3azs-legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ Resources:
Properties:
BucketName: !Ref 'AWS::StackName'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'vpc/vpc-3azs-legacy'
AZs:
Description: 'AZs'
Value: 3
Expand Down
3 changes: 3 additions & 0 deletions vpc/vpc-3azs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ Resources:
Egress: true
CidrBlock: '0.0.0.0/0'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'vpc/vpc-3azs'
AZs:
Description: 'AZs'
Value: 3
Expand Down
3 changes: 3 additions & 0 deletions vpc/vpc-4azs-legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ Resources:
Properties:
BucketName: !Ref 'AWS::StackName'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'vpc/vpc-4azs-legacy'
AZs:
Description: 'AZs'
Value: 4
Expand Down
3 changes: 3 additions & 0 deletions vpc/vpc-4azs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ Resources:
Egress: true
CidrBlock: '0.0.0.0/0'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'vpc/vpc-4azs'
AZs:
Description: 'AZs'
Value: 4
Expand Down
3 changes: 3 additions & 0 deletions vpc/vpc-endpoint-s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ Resources:
VpcId:
'Fn::ImportValue': !Sub '${ParentVPCStack}-VPC'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'vpc/vpc-endpoint-s3'
Endpoint:
Description: 'The VPC endpoint to S3.'
Value: !Ref EndpointS3
Expand Down
3 changes: 3 additions & 0 deletions vpc/vpc-nat-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ Resources:
DestinationCidrBlock: '0.0.0.0/0'
NatGatewayId: !Ref NatGateway
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'vpc/vpc-nat-gateway'
IPAddress:
Description: 'The public IP address of the NAT gateway.'
Value: !Ref EIP
Expand Down
3 changes: 3 additions & 0 deletions vpc/vpc-nat-instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,9 @@ Resources:
PauseTime: PT10M
WaitOnResourceSignals: true
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'vpc/vpc-nat-instance'
IPAddress:
Description: 'The public IP address of the NAT instance.'
Value: !Ref EIP
Expand Down
3 changes: 3 additions & 0 deletions vpc/vpc-ssh-bastion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,9 @@ Resources:
PauseTime: PT10M
WaitOnResourceSignals: true
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'vpc/vpc-ssh-bastion'
SecurityGroup:
Description: 'Use this Security Group to reference incoming traffic from the SSH bastion host/instance.'
Value: !Ref SecurityGroup
Expand Down
3 changes: 3 additions & 0 deletions wordpress/wordpress-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,9 @@ Resources:
SslSupportMethod: 'sni-only'
MinimumProtocolVersion: TLSv1
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Value: 'wordpress/wordpress-ha'
CloudFrontID:
Description: 'The ID of the CloudFront distribution.'
Value: !Ref CloudFrontDistribution
Expand Down

0 comments on commit c4595c3

Please sign in to comment.