PowerDataHub / terraform-aws-airflow

Terraform module to deploy an Apache Airflow cluster on AWS, backed by RDS PostgreSQL for metadata, S3 for logs and SQS as message broker with CeleryExecutor
Apache License 2.0
84 stars 40 forks source link

s3 bucket creation error #31

Closed asafcombo closed 3 years ago

asafcombo commented 4 years ago

error message:

Error: Error creating S3 bucket: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'ap-south-1'
        status code: 400, request id: 28351BE143721736, host id: MshbxPXefuouNbELCQa/sKSsv4YSOShgBuAjBz9CiDhUI18YF7hRhPXNXmP6xrNvX6er3MWPeNM=

  on .terraform/modules/airflow/PowerDataHub-terraform-aws-airflow-a679957/main.tf line 22, in resource "aws_s3_bucket" "airflow_logs":
  22: resource "aws_s3_bucket" "airflow_logs" {

terrform version: Terraform v0.12.9

config file:

provider "aws" {
  profile = "default"
  region  = "us-east-1"
}

module "airflow" {
  version = "0.9.1"
  # 
}
edbizarro commented 4 years ago

is this still happening?