0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

terraformでS3バケットを作成しようとしたときに起きた変なエラー

Posted at

エラー内容

│ Error: creating Amazon S3 (Simple Storage) Bucket (backetname): AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-east-2'
│       status code: 400, request id: xxxxx, host id:xxxxx│
│   with module.s3.aws_s3_bucket.backetname,
│   on module\s3\main.tf line 1, in resource "aws_s3_bucket" "backet_name":
│    1: resource "aws_s3_bucket" "backet_name" {

原因

同名のバケットを消した後にterraformでデプロイしようとしたから。

対策

  1. 別名で作る。
  2. 2日ほど開けてから作り直す。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?