Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. provider "aws" {
  2. region = "us-east-2"
  3. }
  4.  
  5. resource "aws_vpc" "main" {
  6. # vpc_id = "vpc-5c133024"
  7. cidr_block = "10.0.0.0/24"
  8. instance_tenancy = "dedicated"
  9.  
  10. tags = {
  11. name = "main001"
  12. business_owner = "ME"
  13. owner_contact = "Me@gmail.com"
  14. }
  15. }
  16.  
  17. resource "aws_instance" "example" {
  18. # subnet_id = "vpc-5c133024"
  19. ami = "ami-04495fc000e0fc7cf"
  20. instance_type = "t2.micro"
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement