Skip to content

Instantly share code, notes, and snippets.

@PartTimeLegend
Created July 22, 2021 09:49
Show Gist options
  • Save PartTimeLegend/29e2d2d9c52c3cd8815de0818772bc5a to your computer and use it in GitHub Desktop.
Save PartTimeLegend/29e2d2d9c52c3cd8815de0818772bc5a to your computer and use it in GitHub Desktop.
Export Terraform from existing AWS Infrastructure with Terraforming
terraforming alb > alb.tf --use-bundled-cert # ALB
terraforming asg > asg.tf --use-bundled-cert # AutoScaling Group
terraforming cwa > cwa.tf --use-bundled-cert # CloudWatch Alarm
terraforming dbpg > dbpg.tf --use-bundled-cert # Database Parameter Group
terraforming dbsg > dbsg.tf --use-bundled-cert # Database Security Group
terraforming dbsn > dbsn.tf --use-bundled-cert # Database Subnet Group
terraforming ddb > ddb.tf --use-bundled-cert # DynamoDB
terraforming ec2 > ec2.tf --use-bundled-cert # EC2
terraforming ecc > ecc.tf --use-bundled-cert # ElastiCache Cluster
terraforming ecsn > ecsn.tf --use-bundled-cert # ElastiCache Subnet Group
terraforming efs > efs.tf --use-bundled-cert # EFS File System
terraforming eip > eip.tf --use-bundled-cert # EIP
terraforming elb > elb.tf --use-bundled-cert # ELB
terraforming iamg > iamg.tf --use-bundled-cert # IAM Group
terraforming iamgm > iamgm.tf --use-bundled-cert # IAM Group Membership
terraforming iamgp > iamgp.tf --use-bundled-cert # IAM Group Policy
terraforming iamip > iamip.tf --use-bundled-cert # IAM Instance Profile
terraforming iamp > iamp.tf --use-bundled-cert # IAM Policy
terraforming iampa > iampa.tf --use-bundled-cert # IAM Policy Attachment
terraforming iamr > iamr.tf --use-bundled-cert # IAM Role
terraforming iamrp > iamrp.tf --use-bundled-cert # IAM Role Policy
terraforming iamu > iamu.tf --use-bundled-cert # IAM User
terraforming iamup > iamup.tf --use-bundled-cert # IAM User Policy
terraforming igw > igw.tf --use-bundled-cert # Internet Gateway
terraforming kmsa > kmsa.tf --use-bundled-cert # KMS Key Alias
terraforming kmsk > kmsk.tf --use-bundled-cert # KMS Key
terraforming lc > lc.tf --use-bundled-cert # Launch Configuration
terraforming nacl > nacl.tf --use-bundled-cert # Network ACL
terraforming nat > nat.tf --use-bundled-cert # NAT Gateway
terraforming nif > nif.tf --use-bundled-cert # Network Interface
terraforming r53r > r53r.tf --use-bundled-cert # Route53 Record
terraforming r53z > r53z.tf --use-bundled-cert # Route53 Hosted Zone
terraforming rds > rds.tf --use-bundled-cert # RDS
terraforming rs > rs.tf --use-bundled-cert # Redshift
terraforming rt > rt.tf --use-bundled-cert # Route Table
terraforming rta > rta.tf --use-bundled-cert # Route Table Association
terraforming s3 > s3.tf --use-bundled-cert # S3
terraforming sg > sg.tf --use-bundled-cert # Security Group
terraforming sn > sn.tf --use-bundled-cert # Subnet
terraforming snst > snst.tf --use-bundled-cert # SNS Topic
terraforming snss > snss.tf --use-bundled-cert # SNS Subscription
terraforming sqs > sqs.tf --use-bundled-cert # SQS
terraforming vgw > vgw.tf --use-bundled-cert # VPN Gateway
terraforming vpc > vpc.tf --use-bundled-cert # VPC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment