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

[New]: #30394

Closed
meetreks opened this issue Apr 1, 2023 · 3 comments
Closed

[New]: #30394

meetreks opened this issue Apr 1, 2023 · 3 comments
Labels
service/vpc Issues and PRs that pertain to the vpc service.

Comments

@meetreks
Copy link
Contributor

meetreks commented Apr 1, 2023

Description

VPC Lattice was introduced my Amazon during re:Invent 2022 -- https://aws.amazon.com/about-aws/whats-new/2022/11/aws-announces-amazon-vpc-lattice-preview/

The service recently went GA in a couple of regions - https://aws.amazon.com/about-aws/whats-new/2023/03/general-availability-amazon-vpc-lattice/

This request is to enable terraform support for this new service.

Requested Resource(s) and/or Data Source(s)

Resource

aws_vpc_lattice_service
aws_vpc_lattice_service_network
awc_vpc_lattice_service_network_association
aws_vpc_lattice_network_vpc_association
aws_vpc_lattice_batch_update_rule
aws_vpc_lattice_access_log_subscription
aws_vpc_lattice_target_group
aws_vpc_lattice_listener
aws_vpc_lattice_listener_rule

Data Resource
aws_vpc_lattice_auth_policy
aws_vpc_lattice_access_log_subscription
aws_vpc_lattice_listeners
aws_vpc_lattice_resource_policy
aws_vpc_lattice_rules
aws_vpc_lattice_service
aws_vpc_lattice_service_networks
aws_vpc_lattice_service_network_associations
aws_vpc_lattice_service_network_vpc_associations

Potential Terraform Configuration

resource "aws_vpclattice_servicenetwork" "example" {
  auth_type 	= "AWS_IAM"
  client_token    = "svc_eng_1"
  name		= "example"

}

resource "aws_vpclattice_service" "example" {
  auth_type 		= "AWS_IAM"
  certificate_arn	      = "aws::arn::"
  client_token  	      = "svc_eng_1"
  custom_domain_name	= ""
  name			= "example"

}

resource "aws_vpclattice_networkservice_associations" "example" {
  client_token  		      = "svc_eng_1"
  service_identifier		= aws_vpclattice_service.example.id
  service_network_identifier	= aws_vpclattice_servicenetwork.example.id
  
}

resource "aws_vpclattice_networkservice_vpcassociations" "example" {
  client_token  		      = "svc_eng_1"
  security_group_ids		= [aws_security_group.test.id]
  service_network_identifier	= aws_vpclattice_servicenetwork.example.id
  vpc_identifier		      = aws_vpc.test.id

References

https://aws.amazon.com/blogs/aws/simplify-service-to-service-connectivity-security-and-monitoring-with-amazon-vpc-lattice-now-generally-available/

Would you like to implement a fix?

Yes

@meetreks meetreks added the needs-triage Waiting for first response or review from a maintainer. label Apr 1, 2023
@github-actions
Copy link

github-actions bot commented Apr 1, 2023

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • 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.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added service/vpc Issues and PRs that pertain to the vpc service. and removed needs-triage Waiting for first response or review from a maintainer. labels Apr 1, 2023
@mattburgess
Copy link
Collaborator

Duplicate of #30380

@mattburgess mattburgess marked this as a duplicate of #30380 Apr 3, 2023
@github-actions
Copy link

github-actions bot commented May 4, 2023

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/vpc Issues and PRs that pertain to the vpc service.
Projects
None yet
Development

No branches or pull requests

2 participants