terraform-provider-awscc icon indicating copy to clipboard operation
terraform-provider-awscc copied to clipboard

awscc_ec2_vpc_endpoints fails reporting the AWS::EC2::VPCEndpoint is not yet supported in CloudControl API

Open absa-rsuarez opened this issue 2 years ago • 1 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
  • The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the CloudFormation Open Coverage Roadmap.

Terraform CLI and Terraform AWS Cloud Control Provider Version

Affected Resource(s)

  • awscc_ec2_vpc_endpoints

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

terraform {
  required_providers {
    awscc = {
      source = "hashicorp/awscc"
      version = "0.32.0"
    }
  }
}
provider "awscc" {
  region = "af-south-1"
}
data "awscc_ec2_vpc_endpoints" "this" {}

Debug Output

$ terraform plan data.awscc_ec2_vpc_endpoints.this: Reading... ╷ │ Error: AWS SDK Go Service Operation Unsuccessful │ │ with data.awscc_ec2_vpc_endpoints.this, │ on main.tf line 15, in data "awscc_ec2_vpc_endpoints" "this": │ 15: data "awscc_ec2_vpc_endpoints" "this" {} │ │ Calling CloudControl service ListResources operation returned: operation error CloudControl: ListResources, https response error StatusCode: 400, RequestID: 846ba987-e6e6-4746-b81c-78f2a3271260, UnsupportedActionException: The resource AWS::EC2::VPCEndpoint is not yet supported via Cloud Control API

Panic Output

Expected Behavior

Return list of VPC Endpoints

Actual Behavior

Error

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000

absa-rsuarez avatar Sep 21 '22 08:09 absa-rsuarez

This is likely a result of this resource not being supported in af-south-1.

breathingdust avatar Oct 19 '22 15:10 breathingdust