Tried ec2 creation using terraform.
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
provider "aws" {
|
||||||
|
region = "ap-south-1"
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "aws_instance" "example" {
|
||||||
|
ami = "ami-0861f4e788f5069dd"
|
||||||
|
instance_type = "t2.micro"
|
||||||
|
key_name = "kshitij-personal-ed25519"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user