We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Terraform v0.11.3 + provider.aws v1.11.0
aws_cognito_user_pool_client
resource "aws_cognito_user_pool" "pool" { name = "pool" } resource "aws_cognito_user_pool_client" "client" { name = "client" user_pool_id = "${aws_cognito_user_pool.pool.id}" }
https://gist.github.com/repl-chris/7215ee65e99e7ead2caf8100b0b1101d
It should import successfully
It appears to import successfully, but then errors out on 'Refreshing state...'
C:\temp> terraform import aws_cognito_user_pool_client.client 3v1ugef2oda5amrfsv9faegkog aws_cognito_user_pool_client.client: Importing from ID "3v1ugef2oda5amrfsv9faegkog"... aws_cognito_user_pool_client.client: Import complete! Imported aws_cognito_user_pool_client (ID: 3v1ugef2oda5amrfsv9faegkog) aws_cognito_user_pool_client.client: Refreshing state... (ID: 3v1ugef2oda5amrfsv9faegkog) Error: aws_cognito_user_pool_client.client (import id: 3v1ugef2oda5amrfsv9faegkog): 1 error(s) occurred: * import aws_cognito_user_pool_client.client result: 3v1ugef2oda5amrfsv9faegkog: aws_cognito_user_pool_client.client: InvalidParameter: 1 validation error(s) found. - minimum field size of 1, DescribeUserPoolClientInput.UserPoolId.
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform import aws_cognito_user_pool_client.client <your client ID here>
The text was updated successfully, but these errors were encountered:
submitted pr to include user-pool-id for import
user-pool-id
Sorry, something went wrong.
I have got the same problem.
The fix for this has been merged in and will release with v1.16.0 of the AWS provider, likely tomorrow.
This has been released in version 1.16.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Successfully merging a pull request may close this issue.
Terraform Version
Affected Resource(s)
aws_cognito_user_pool_client
Terraform Configuration Files
resource "aws_cognito_user_pool" "pool" {
name = "pool"
}
resource "aws_cognito_user_pool_client" "client" {
name = "client"
user_pool_id = "${aws_cognito_user_pool.pool.id}"
}
Debug Output
https://gist.github.com/repl-chris/7215ee65e99e7ead2caf8100b0b1101d
Expected Behavior
It should import successfully
Actual Behavior
It appears to import successfully, but then errors out on 'Refreshing state...'
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform import aws_cognito_user_pool_client.client <your client ID here>
The text was updated successfully, but these errors were encountered: