Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags not supported on awscc_ec2_vpc_endpoint #2150

Closed
sanjeevgopal opened this issue Jan 9, 2025 · 2 comments
Closed

Tags not supported on awscc_ec2_vpc_endpoint #2150

sanjeevgopal opened this issue Jan 9, 2025 · 2 comments
Assignees
Labels

Comments

@sanjeevgopal
Copy link

sanjeevgopal commented Jan 9, 2025

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

Terraform v1.10.4
on darwin_amd64
+ provider registry.terraform.io/hashicorp/aws v5.82.2
+ provider registry.terraform.io/hashicorp/awscc v1.24.0

Affected Resource(s)

  • awscc_ec2_vpc_endpoint

Terraform Configuration Files

resource "awscc_ec2_vpc_endpoint" "o_x_web" {
  vpc_endpoint_type          = "Resource"
  resource_configuration_arn = var.rcfg_arn
  vpc_id                     = module.vpc.vpc_id
  subnet_ids                 = toset(module.vpc.private_subnets[*])
  security_group_ids         = [module.vpc.default_security_group_id]
  # tags                       = local.awscc_default_tags

Expected Behavior

The CloudFormation resource AWS::EC2::VPCEndpoint supports tags, so the AWSCC resource should too.

Actual Behavior

Error: An argument named "tags" is not expected here.

@quixoticmonk
Copy link
Collaborator

Thank you for opening the issue @sanjeevgopal . Seems like the current schema available has this set to false. Let me check this and get back to you.

@quixoticmonk quixoticmonk self-assigned this Jan 9, 2025
@quixoticmonk
Copy link
Collaborator

quixoticmonk commented Jan 9, 2025

#2153 resolves this as the schema was available as of this week to be picked up for tags. You should be able to use tags on the VPC endpoint with v1.25.0 of the provider. Closing this issue based on the updated schema. Please re-open if you notice further issues with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants