Terraform Plan

Resource Changes (7 total)

Terraform will apply these changes to your resources

CREATE
aws_s3_bucket.main
New Resource:
bucket: complex-modules-example-prod-main-bucket
tags:
{
  "Environment": "prod",
  "Project": "complex-modules-example"
}
Computed Fields:
arn: known after creation
bucket_domain_name: known after creation
id: known after creation
UPDATE
aws_instance.web
Before
instance_type: t3.small
tags:
{
  "Environment": "prod",
  "Name": "web-server"
}
After
instance_type: t3.medium
tags:
{
  "Environment": "prod",
  "Name": "web-server",
  "Updated": "2024-01-15"
}
DELETE
aws_security_group.old_sg
Resource to Delete:
name: old-security-group
description: Old security group to be removed
vpc_id: vpc-0123456789abcdef0
REPLACE
aws_instance.replace_instance
Resource Replacement:
Current State (to be removed):
tags:
{
  "Environment": "prod"
}
ami: ami-0123456789abcdef0
instance_type: t3.micro
New State (to be created):
tags:
{
  "Environment": "prod",
  "Replaced": "2024-01-15"
}
ami: ami-0987654321fedcba0
instance_type: t3.micro
Computed Fields:
id: known after creation
arn: known after creation
CREATE
module.vpc.aws_vpc.main
New Resource:
cidr_block: 10.0.0.0/16
enable_dns_hostnames: true
enable_dns_support: true
tags:
{
  "Environment": "prod",
  "Module": "vpc"
}
Computed Fields:
id: known after creation
arn: known after creation
default_route_table_id: known after creation
CREATE
module.vpc.module.subnets.aws_subnet.public
New Resource:
tags:
{
  "Environment": "prod",
  "Module": "vpc.subnets",
  "Type": "Public"
}
cidr_block: 10.0.1.0/24
availability_zone: us-west-2a
map_public_ip_on_launch: true
Computed Fields:
id: known after creation
arn: known after creation
CREATE
module.database.aws_rds_instance.main
New Resource:
password: sensitive_password
tags:
{
  "Environment": "prod",
  "Module": "database"
}
engine: postgres
engine_version: 15.4
instance_class: db.t3.micro
allocated_storage: 20
db_name: prod_database
username: admin
Computed Fields:
arn: known after creation
endpoint: known after creation
id: known after creation
Want to visualize your Terraform plan and state changes over time and link them to your git history?
Try CloudVIC