Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import existing accounts #191

Open
sinkr opened this issue Oct 18, 2023 · 0 comments
Open

Cannot import existing accounts #191

sinkr opened this issue Oct 18, 2023 · 0 comments
Assignees
Labels

Comments

@sinkr
Copy link

sinkr commented Oct 18, 2023

Terraform Version

Terraform v1.6.1
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v5.21.0
+ provider registry.terraform.io/idealo/controltower v1.3.0

Affected Resource(s)

Please list the resources as a list, for example:

  • controltower_aws_account

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.

Terraform Configuration Files

resource "controltower_aws_account" "testing" {
  name                = "Testing"
  email               = "[email protected]"
  organizational_unit = "testing"

  sso {
    first_name = "Redacted"
    last_name  = "Tech"
    email      = "[email protected]"
  }
}

Actual Behavior

terraform import controltower_aws_account.testing pp-<redacted>
var.region
  The AWS region that we will be operating on.

  Enter a value: us-east-1

╷
│ Error: Missing required argument
│
│ The argument "region" is required, but was not set.
╵

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform import controltower_aws_account.testing pp-<redacted>

Expected behavior is the resource is imported.

@theurichde theurichde self-assigned this Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants