Skip to content

terraform not properly storing provider args from command line when there is no provider block #26035

@mildwonkey

Description

@mildwonkey

Terraform Version

0.13.2-dev (build from master)

Terraform Configuration Files

resource "aws_bucket" "yo" {
  name = "yo"
}

Expected Behavior

  The region where AWS operations will take place. Examples
resource "aws_bucket" {
  are us-east-1, us-west-2, etc.

  Enter a value: us-east-1

Refreshing Terraform state in-memory prior to plan...

Actual Behavior

provider.aws.region
  The region where AWS operations will take place. Examples
  are us-east-1, us-west-2, etc.

  Enter a value: us-east-1


Error: Missing required argument

The argument "region" is required, but was not set.

Steps to Reproduce

plan

References

Could possibly relate to #26027

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions