Code Monkey home page Code Monkey logo

aws-terraform-serverless-website's Introduction

Hi there ๐Ÿ‘‹

โ˜๏ธโ˜๏ธโ˜๏ธ - I am an AWS Cloud/Solutions Architect, AWS Community Builder and AWS Ambassador in my company.

๐Ÿง‘โ€๐Ÿ’ป๐Ÿง‘โ€๐Ÿ’ป๐Ÿง‘โ€๐Ÿ’ป - I love serverless, event-driven architectures, DevOps, IaC and new technology challenges!

๐Ÿ“–๐Ÿ“–๐Ÿ“– - : My blog page: https://playingaws.com/

โ“โ“โ“ - Find more about me here: https://www.linkedin.com/in/alejandro-lazaro-chueca/

aws-terraform-serverless-website's People

Contributors

alazaroc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aws-terraform-serverless-website's Issues

Missing AWS Provider Alias "use_default_region"

Before I begin, I would like to thank you for your article related to this repository.

I'm encountering an issue in my Terraform configuration where I'm trying to use the AWS provider alias "use_default_region" (aws.use_default_region) for resource definition. However, there is no corresponding provider block with this alias defined in the Terraform configuration.

Steps to Reproduce:

In my Terraform configuration, I have a resource block that references the "use_default_region" alias:

resource "aws_acm_certificate" "cert" {
  provider                  = aws.use_default_region
  domain_name               = "*.${var.domain_name_simple}"
  validation_method         = "DNS"
  subject_alternative_names = [var.domain_name_simple]

  lifecycle {
    create_before_destroy = true
  }
}

resource "aws_acm_certificate" "cert" {
provider = aws.use_default_region
domain_name = "*.${var.domain_name_simple}"
validation_method = "DNS"
subject_alternative_names = [var.domain_name_simple]

lifecycle {
create_before_destroy = true
}
}
When running Terraform, I receive an error indicating that the provider configuration is not present.

Suggested Fix:
Define the AWS provider block with the alias "use_default_region" in the Terraform configuration with the appropriate settings and credentials for the desired AWS region.

Screenshots:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.