Skip to content

Commit

Permalink
setting up ec2 instance on apache server
Browse files Browse the repository at this point in the history
  • Loading branch information
chibaba committed Feb 28, 2024
1 parent 526790d commit 4030f1b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
17 changes: 17 additions & 0 deletions infras/gitops3/iteration3/providers.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Setting and locking the Dependencies
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "4.10"
}
}

required_version = ">= 1.1.0"
}

# Feeding the AWS providers with the data it needs
provider "aws" {
# Set the default region
region = var.region
}
4 changes: 4 additions & 0 deletions infras/gitops3/iteration3/terraform.auto.tfvars
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
environment = "dev"
region = "us-east-2"
ssh_key_name = "gitops"
instance_type = "t2.micro"

0 comments on commit 4030f1b

Please sign in to comment.