Exposed aws_api_gw_domain_name.certificate_upload_date attribute (#9533)
This commit is contained in:
parent
0c6a999a74
commit
ef5ceb9681
|
@ -52,6 +52,11 @@ func resourceAwsApiGatewayDomainName() *schema.Resource {
|
|||
Computed: true,
|
||||
},
|
||||
|
||||
"certificate_upload_date": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
|
||||
"cloudfront_zone_id": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
|
|
|
@ -41,6 +41,9 @@ func TestAccAWSAPIGatewayDomainName_basic(t *testing.T) {
|
|||
resource.TestCheckResourceAttr(
|
||||
"aws_api_gateway_domain_name.test", "domain_name", name,
|
||||
),
|
||||
resource.TestCheckResourceAttrSet(
|
||||
"aws_api_gateway_domain_name.test", "certificate_upload_date",
|
||||
),
|
||||
),
|
||||
},
|
||||
},
|
||||
|
|
|
@ -69,6 +69,7 @@ The following arguments are supported:
|
|||
The following attributes are exported:
|
||||
|
||||
* `id` - The internal id assigned to this domain name by API Gateway.
|
||||
* `certificate_upload_date` - The upload date associated with the domain certificate.
|
||||
* `cloudfront_domain_name` - The hostname created by Cloudfront to represent
|
||||
the distribution that implements this domain name mapping.
|
||||
* `cloudfront_zone_id` - For convenience, the hosted zone id (`Z2FDTNDATAQYW2`)
|
||||
|
|
Loading…
Reference in New Issue