deb-heat/templates/S3_Single_Instance.template
Steve Baker 8df32a93d2 Unit test S3 Bucket resource with associated fixes.
Change-Id: Ib23ed500385c299247bf80062a7a4342f5afe1d2
2012-09-17 12:43:51 +12:00

37 lines
864 B
Plaintext

{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "Template to test S3 Bucket resources",
"Resources" : {
"S3BucketWebsite" : {
"Type" : "AWS::S3::Bucket",
"Properties" : {
"AccessControl" : "PublicRead",
"WebsiteConfiguration" : {
"IndexDocument" : "index.html",
"ErrorDocument" : "error.html"
},
"DeletionPolicy" : "Delete"
}
},
"S3Bucket" : {
"Type" : "AWS::S3::Bucket",
"Properties" : {
"AccessControl" : "Private"
}
}
},
"Outputs" : {
"WebsiteURL" : {
"Value" : { "Fn::GetAtt" : [ "S3Bucket", "WebsiteURL" ] },
"Description" : "URL for website hosted on S3"
},
"DomainName" : {
"Value" : { "Fn::GetAtt" : [ "S3Bucket", "DomainName" ] },
"Description" : "Domain of S3 host"
}
}
}