cognito-local icon indicating copy to clipboard operation
cognito-local copied to clipboard

Create User Pool using Terraform

Open ffleandro opened this issue 2 years ago • 0 comments

I'm trying to create a user pool using my terraform templates that I already use to deploy directly on AWS and I'm getting a bunch of these errors:

cognito-local | [1662732399454] ERROR: 8b4d5f8a NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"8b4d5f8a"}
cognito-local | [1662732399456] ERROR: 2f4a44dc NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"2f4a44dc"}
cognito-local | [1662732399498] ERROR: 052779aa NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"052779aa"}
cognito-local | [1662732399501] ERROR: 0501e378 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"0501e378"}
cognito-local | [1662732399596] ERROR: bb6b02e7 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"bb6b02e7"}
cognito-local | [1662732399598] ERROR: 34132ca6 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"34132ca6"}
cognito-local | [1662732399753] ERROR: 886c8d8f NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"886c8d8f"}
cognito-local | [1662732399836] ERROR: 26aa6946 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"26aa6946"}
cognito-local | [1662732400215] ERROR: 996139cf NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"996139cf"}
cognito-local | [1662732400238] ERROR: b7fa335d NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"b7fa335d"}
cognito-local | [1662732400811] ERROR: ab1a3edc NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"ab1a3edc"}
cognito-local | [1662732401066] ERROR: 33fee054 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"33fee054"}
cognito-local | [1662732402262] ERROR: cceb9325 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"cceb9325"}
cognito-local | [1662732402341] ERROR: 3d5d23e9 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"3d5d23e9"}
cognito-local | [1662732405400] ERROR: 81251917 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"81251917"}
cognito-local | [1662732405842] ERROR: 6768665e NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"6768665e"}
cognito-local | [1662732411751] ERROR: 708a3405 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"708a3405"}
cognito-local | [1662732412454] ERROR: e5c8ca2f NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"e5c8ca2f"}
cognito-local | [1662732421867] ERROR: 502a1f76 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"502a1f76"}
cognito-local | [1662732425374] ERROR: e54fe541 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"e54fe541"}
cognito-local | [1662732445097] ERROR: 3b9ed061 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"3b9ed061"}
cognito-local | [1662732445783] ERROR: 907567a8 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"907567a8"}
cognito-local | [1662732487976] ERROR: 1d7f081f NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateUserPoolDomain" {"reqId":"1d7f081f"}
cognito-local | [1662732491540] ERROR: da32c38a NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"da32c38a"}
cognito-local | [1662732562615] ERROR: 3dbd88c9 NONE Cognito Local unsupported feature: Unsupported x-amz-target header "CreateResourceServer" {"reqId":"3dbd88c9"}

And terraform just hangs waiting for the resource creation completion:

module.infrastructure.aws_cognito_resource_server.resource: Still creating... [4m31s elapsed]
module.infrastructure.aws_cognito_user_pool_domain.user_pool_domain: Still creating... [4m31s elapsed]

ffleandro avatar Sep 09 '22 14:09 ffleandro