Skip to content

Commit

Permalink
added TemplateVersion output
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Mar 21, 2018
1 parent cdd26ab commit a026363
Show file tree
Hide file tree
Showing 38 changed files with 191 additions and 74 deletions.
7 changes: 5 additions & 2 deletions ec2/ec2-auto-recovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,13 @@ Resources:
Value: !Ref VirtualMachine
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'ec2/ec2-auto-recovery'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
InstanceId:
Description: 'The EC2 instance id.'
Expand Down
7 changes: 5 additions & 2 deletions ecs/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1343,10 +1343,13 @@ Resources:
Value: !Ref SchedulableContainersLambda
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'ecs/cluster'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
Cluster:
Description: 'ECS cluster.'
Expand Down
7 changes: 5 additions & 2 deletions ecs/service-cluster-alb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,13 @@ Resources:
- !Ref ScaleDownPolicy
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'ecs/service-cluster-alb'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
DNSName:
Description: 'The DNS name for the ECS cluster/service load balancer.'
Expand Down
7 changes: 5 additions & 2 deletions ecs/service-dedicated-alb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -474,10 +474,13 @@ Resources:
- !Ref ScaleDownPolicy
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'ecs/service-dedicated-alb'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
DNSName:
Description: 'The DNS name for the ECS cluster/service load balancer.'
Expand Down
7 changes: 5 additions & 2 deletions jenkins/jenkins2-ha-agents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1953,10 +1953,13 @@ Resources:
MetricName: BuildActive
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'jenkins/jenkins2-ha-agents'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
AdminUsername:
Description: 'User name for the Jenkins admin.'
Expand Down
7 changes: 5 additions & 2 deletions jenkins/jenkins2-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -832,10 +832,13 @@ Resources:
Value: !Ref MasterASG
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'jenkins/jenkins2-ha'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
AdminUsername:
Description: 'User name for the Jenkins admin.'
Expand Down
7 changes: 5 additions & 2 deletions operations/alert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,13 @@ Resources:
TopicArn: !Ref FallbackTopic
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'operations/alert'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
TopicARN:
Description: 'The ARN of the alert topic.'
Expand Down
7 changes: 5 additions & 2 deletions operations/backup-dynamodb-native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,11 @@ Resources:
Value: !Ref LambdaFunction
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'operations/backup-dynamodb-native'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
7 changes: 5 additions & 2 deletions operations/backup-dynamodb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,13 @@ Resources:
RefValue: Failure
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'operations/backup-dynamodb'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
BackupBucketName:
Description: 'The name of the backup bucket.'
Expand Down
7 changes: 5 additions & 2 deletions security/account-password-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,11 @@ Resources:
ServiceToken: !GetAtt 'LambdaFunction.Arn'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'security/account-password-policy'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
7 changes: 5 additions & 2 deletions security/auth-proxy-ha-github-orga.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -802,10 +802,13 @@ Resources:
Value: !Ref AutoScalingGroup
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'security/auth-proxy-ha-github-orga'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
SecurityGroup:
Description: 'Use this Security Group to reference incoming traffic from the auth proxy.'
Expand Down
7 changes: 5 additions & 2 deletions security/cloudtrail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,11 @@ Resources:
SnsTopicName: !GetAtt 'TrailTopic.TopicName'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'security/cloudtrail'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
7 changes: 5 additions & 2 deletions security/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,11 @@ Resources:
RoleARN: !If [InternalBucket, !GetAtt 'ConfigurationRecorderRole.Arn', !GetAtt 'ExternalConfigurationRecorderRole.Arn']
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'security/config'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
7 changes: 5 additions & 2 deletions state/client-sg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ Resources:
'Fn::ImportValue': !Sub '${ParentVPCStack}-VPC'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'state/client-sg'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
ClientSecurityGroup:
Description: 'Use this Security Group to reference client traffic.'
Expand Down
7 changes: 5 additions & 2 deletions state/dynamodb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,13 @@ Resources:
- 'Fn::ImportValue': !Sub '${ParentAlertStack}-TopicARN'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'state/dynamodb'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
TableName:
Description: 'Name of the table'
Expand Down
7 changes: 5 additions & 2 deletions state/elasticache-memcached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,13 @@ Resources:
Threshold: 1000
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'state/elasticache-memcached'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
ClusterName:
Description: 'The name of the cluster'
Expand Down
7 changes: 5 additions & 2 deletions state/elasticsearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -471,10 +471,13 @@ Resources:
Threshold: 0
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'state/elasticsearch'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
DNSName:
Description: "The domain-specific endpoint that's used to submit index, search, and data upload requests to an Amazon ES domain."
Expand Down
7 changes: 5 additions & 2 deletions state/rds-aurora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,13 @@ Resources:
SourceType: 'db-cluster'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'state/rds-aurora'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
ClusterName:
Description: 'The name of the cluster.'
Expand Down
7 changes: 5 additions & 2 deletions state/rds-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,13 @@ Resources:
SourceType: 'db-instance'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'state/rds-postgres'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
InstanceName:
Description: 'The name of the database instance.'
Expand Down
7 changes: 5 additions & 2 deletions state/s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,13 @@ Resources:
Resource: !Sub '${Bucket.Arn}/*'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'state/s3'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
BucketName:
Description: 'Name of the bucket'
Expand Down
7 changes: 5 additions & 2 deletions static-website/static-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,13 @@ Resources:
DNSName: !GetAtt 'CloudFrontDistributionRedirect.DomainName'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'static-website/static-website'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
URL:
Description: 'URL to static website.'
Expand Down
7 changes: 5 additions & 2 deletions vpc/vpc-2azs-legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,13 @@ Resources:
Properties: {}
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'vpc/vpc-2azs-legacy'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
AZs:
Description: 'AZs'
Expand Down
7 changes: 5 additions & 2 deletions vpc/vpc-2azs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,13 @@ Resources:
CidrBlock: '0.0.0.0/0'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'vpc/vpc-2azs'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
AZs:
Description: 'AZs'
Expand Down
7 changes: 5 additions & 2 deletions vpc/vpc-3azs-legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,13 @@ Resources:
Properties: {}
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'vpc/vpc-3azs-legacy'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
AZs:
Description: 'AZs'
Expand Down
7 changes: 5 additions & 2 deletions vpc/vpc-3azs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,13 @@ Resources:
CidrBlock: '0.0.0.0/0'
Outputs:
TemplateID:
Description: 'cloudonaut.io template id'
Description: 'cloudonaut.io template id.'
Value: 'vpc/vpc-3azs'
TemplateVersion:
Description: 'cloudonaut.io template version.'
Value: '__VERSION__'
StackName:
Description: 'Stack name'
Description: 'Stack name.'
Value: !Sub '${AWS::StackName}'
AZs:
Description: 'AZs'
Expand Down
Loading

0 comments on commit a026363

Please sign in to comment.