Changed to new aws_cognito_managed_user_pool_client resource. This resource is meant for managing user pool clients created by OpenSearch. It's required because OpenSearch creates the pool itself instead of expecting you to do it. Finally, we won't have to periodically update a pool client ID in the terraform file. We should also be able to destroy & recreate the OpenSearch domain, if needed.
Also edited the cron1 provisioning script so it'll enable the crawler cron job by default.
Upgraded terraform and aws provider.
Changed to new aws_cognito_managed_user_pool_client resource. This resource is meant for managing user pool clients created by OpenSearch. It's required because OpenSearch creates the pool itself instead of expecting you to do it. Finally, we won't have to periodically update a pool client ID in the terraform file. We should also be able to destroy & recreate the OpenSearch domain, if needed.
Also edited the
cron1
provisioning script so it'll enable the crawler cron job by default.