ItsApex/DevOps-1exp2

FirstRepo

★ 0Forks 0GitHub ↗Compare

README

#hello world Example readme file for my repo

Define the provider and AWS region

provider "aws" { region = "us-east-1" # Replace with your desired AWS region }

Create an EC2 instance

resource "aws_instance" "example_instance" { ami = "ami-0c55b159cbfafe1f0" # Replace with your desired AMI ID instance_type = "t2.micro" # Replace with your desired instance type key_name = "your-key-pair-name" # Replace with your SSH key pair name

tags = { Name = "ExampleInstance" } }

Contributors

Cyb3rtr0n-7aaryaparadkarayan-joshi

Issues