Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Create the file for the provider

Sumit Rawal answered on May 15, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • no provider for file

  • Create the file for the provider

    0

    Create aprovider.tf file & add the below code in it.

    # Provider name

    provider "aws" {

    region = var.region

    }

    # Storing state file on S3 backend

    terraform {

    backend "s3" {

    bucket = "tf-state-dhsoni"

    region = "us-west-2"

    key = "terraform.tfstate"

    }

    }

    Note:- You need to replace the bucket value here & you need to create bucket manually on AWS. I have already created it

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 15 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.