Difference between revisions of "Terraform resource: aws vpc"
Jump to navigation
Jump to search
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc | * https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc | ||
+ | |||
+ | == Official example == | ||
+ | resource "aws_vpc" "main" { | ||
+ | cidr_block = "10.0.0.0/16" | ||
+ | } | ||
== Argument == | == Argument == | ||
Line 9: | Line 14: | ||
* [[AWS CLI]]: <code>[[aws ec2 create-vpc]]</code> | * [[AWS CLI]]: <code>[[aws ec2 create-vpc]]</code> | ||
* <code>[[aws_internet_gateway]]</code> | * <code>[[aws_internet_gateway]]</code> | ||
− | * [[Terraform resource: | + | * [[Terraform resource: aws_db_subnet_group]] |
* [[Terraform data source]]: <code>[[Terraform data source: aws_vpc|aws_vpc]]</code> | * [[Terraform data source]]: <code>[[Terraform data source: aws_vpc|aws_vpc]]</code> | ||
* <code>[[aws_instance]]</code> | * <code>[[aws_instance]]</code> | ||
* [[Terraform module: vpc]] | * [[Terraform module: vpc]] | ||
+ | * [[Warning: Argument is deprecated]] | ||
+ | * <code>[[aws_vpc_endpoint]]</code> | ||
+ | * <code>[[aws ec2 create-vpc]]</code> | ||
− | ==See also== | + | == See also == |
* {{aws_vpc}} | * {{aws_vpc}} | ||
* {{terraform aws resources}} | * {{terraform aws resources}} |
Latest revision as of 12:16, 20 October 2023
Official example[edit]
resource "aws_vpc" "main" { cidr_block = "10.0.0.0/16" }
Argument[edit]
Related terms[edit]
- AWS CLI:
aws ec2 create-vpc
aws_internet_gateway
- Terraform resource: aws_db_subnet_group
- Terraform data source:
aws_vpc
aws_instance
- Terraform module: vpc
- Warning: Argument is deprecated
aws_vpc_endpoint
aws ec2 create-vpc
See also[edit]
Advertising: