Mongodb_atlas_privatelink

I have some terraform config modules for MongoDB atlas privateLink, for some reason the condition logic is_serverless is not working as expected, not sure why

Can you share the Terraform code? Preferably in a git repo that can be used.

Thanks, is it to review or run?. As the config uses API keys and all that stuff

To review and run. You shouldn’t be putting secrets in your Terraform. Use variables.

Oh, there are no secrets in the terraform config. The Api secrets are stored in AWS secret and are pulled using a data source. To run you would need monngodb atlas provider keys.

I was able to break down the TF scripts and reviewed the resources one by one to identify the mistake I was making. Thanks