Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions terraform/ec2.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "aws_security_group" "aws_sg" {
name = "security group from terraform"
name = "security group from TF"

ingress {
description = "SSH from the internet"
Expand Down Expand Up @@ -38,7 +38,7 @@ resource "aws_instance" "aws_ins_web" {
key_name = "aws-key-pair" # your key here

tags = {
Name = "my own instance"
Name = "my own instance2"
}

}
Expand Down
4 changes: 2 additions & 2 deletions terraform/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
bucket = "orangutan-terraform-state" //s3 bucket name
key = "global/s3/terraform.tfstate"
region = "eu-west-1"
dynamodb_table = "orangutan-terraform-state-locks" //LockID (String) will be the only dynamoDB table ID
encrypt = true
//dynamodb_table = "orangutan-terraform-state-locks" //LockID (String) will be the only dynamoDB table ID
//encrypt = true
profile = "default" // configure profile using aws configure command otherwise the backend will not work
}
}