상세 컨텐츠

본문 제목

[Terraform] State

데이터 과학

by Taeyoon.Kim.DS 2024. 2. 20. 01:05

본문

terraform state list

--> aws_vpc.mtc_vpc

 

terraform state show aws_vpc.mtc_vpc

resource "aws_vpc" "mtc_vpc" {
    arn                                  = "arn:aws:ec2:us-west-1:851725444419:vpc/vpc-0fceb1f754b66a462"
    assign_generated_ipv6_cidr_block     = false
    cidr_block                           = "10.123.0.0/16"
    default_network_acl_id               = "acl-0574e89785178234a"
    default_route_table_id               = "rtb-0eb0abbbb94c4a79e"
    default_security_group_id            = "sg-0f082ff0d48a68667"
    dhcp_options_id                      = "dopt-036e0e60e5b98f995"
    enable_dns_hostnames                 = true
    enable_dns_support                   = true
    enable_network_address_usage_metrics = false
    id                                   = "vpc-0fceb1f754b66a462"
    instance_tenancy                     = "default"
    ipv6_netmask_length                  = 0
    main_route_table_id                  = "rtb-0eb0abbbb94c4a79e"
    owner_id                             = "851725444419"
    tags                                 = {
        "Name" = "dev"
    }
    tags_all                             = {
        "Name" = "dev"
    }
}

 

 

관련글 더보기