Skip to content

Commit

Permalink
update provider
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahim-mohamed-zaghloul committed Oct 14, 2024
1 parent 8b3c3a9 commit f9adc91
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions terraform/provider.tf
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 5.25.0"
source = "hashicorp/aws"
}
}
backend "remote" {
hostname = "app.terraform.io"
organization = "depi_final"

backend "s3" {
bucket = "devops-ibrahimzaghloul"
key = "terraform.tfstate"
region = "us-east-1"
workspaces {
name = "Terraform-AWS-EKS-GitHub-Actions"
}
}

required_version = ">= 1.6.3"
}

provider "aws" {
region = var.region
}

0 comments on commit f9adc91

Please sign in to comment.