diff --git a/aws/data_source_aws_customer_gateway.go b/aws/data_source_aws_customer_gateway.go index ee61a93669f..325e0c4b06b 100644 --- a/aws/data_source_aws_customer_gateway.go +++ b/aws/data_source_aws_customer_gateway.go @@ -21,6 +21,7 @@ func dataSourceAwsCustomerGateway() *schema.Resource { "id": { Type: schema.TypeString, Optional: true, + Computed: true, }, "bgp_asn": { diff --git a/aws/data_source_aws_ec2_transit_gateway.go b/aws/data_source_aws_ec2_transit_gateway.go index 3812c20e565..499934d3739 100644 --- a/aws/data_source_aws_ec2_transit_gateway.go +++ b/aws/data_source_aws_ec2_transit_gateway.go @@ -52,6 +52,7 @@ func dataSourceAwsEc2TransitGateway() *schema.Resource { "id": { Type: schema.TypeString, Optional: true, + Computed: true, }, "owner_id": { Type: schema.TypeString, diff --git a/aws/data_source_aws_ec2_transit_gateway_peering_attachment.go b/aws/data_source_aws_ec2_transit_gateway_peering_attachment.go index d2868d512de..2ddbda6803c 100644 --- a/aws/data_source_aws_ec2_transit_gateway_peering_attachment.go +++ b/aws/data_source_aws_ec2_transit_gateway_peering_attachment.go @@ -20,6 +20,7 @@ func dataSourceAwsEc2TransitGatewayPeeringAttachment() *schema.Resource { "id": { Type: schema.TypeString, Optional: true, + Computed: true, }, "peer_account_id": { Type: schema.TypeString, diff --git a/aws/data_source_aws_ec2_transit_gateway_route_table.go b/aws/data_source_aws_ec2_transit_gateway_route_table.go index 5124b7e559b..6caa944d781 100644 --- a/aws/data_source_aws_ec2_transit_gateway_route_table.go +++ b/aws/data_source_aws_ec2_transit_gateway_route_table.go @@ -33,6 +33,7 @@ func dataSourceAwsEc2TransitGatewayRouteTable() *schema.Resource { "id": { Type: schema.TypeString, Optional: true, + Computed: true, }, "transit_gateway_id": { Type: schema.TypeString, diff --git a/aws/data_source_aws_ec2_transit_gateway_vpc_attachment.go b/aws/data_source_aws_ec2_transit_gateway_vpc_attachment.go index 22695899079..a1aea8c18c7 100644 --- a/aws/data_source_aws_ec2_transit_gateway_vpc_attachment.go +++ b/aws/data_source_aws_ec2_transit_gateway_vpc_attachment.go @@ -28,6 +28,7 @@ func dataSourceAwsEc2TransitGatewayVpcAttachment() *schema.Resource { "id": { Type: schema.TypeString, Optional: true, + Computed: true, }, "ipv6_support": { Type: schema.TypeString, diff --git a/aws/data_source_aws_guardduty_detector.go b/aws/data_source_aws_guardduty_detector.go index 6011da6a0a0..9f7666fcb55 100644 --- a/aws/data_source_aws_guardduty_detector.go +++ b/aws/data_source_aws_guardduty_detector.go @@ -16,6 +16,7 @@ func dataSourceAwsGuarddutyDetector() *schema.Resource { "id": { Type: schema.TypeString, Optional: true, + Computed: true, }, "status": { Type: schema.TypeString,