aws-ia / terraform-aws-mendix-private-cloud

This AWS Partner Solution uses Terraform to deploy a Mendix infrastructure in the AWS Cloud.
Apache License 2.0
12 stars 14 forks source link

Fix: mxpc throws an error because parameter clustertag is unknown #42

Open henobi opened 6 months ago

henobi commented 6 months ago

Hi,

I could not connect my cluster to the Mendix for Private Cloud Platform when deploying this solution. I did some research in the logs and found the root cause in the parameter clusterTag because it does not exist (anymore?) in mxpc-cli. After I removed the paramter I was able to connect to the Mendix platform as expected.

Therefore my suggestion would be to remote this parameter.

Best, Hendrik

walkline commented 6 months ago

Hi @henobi. The clusterTag parameter was added to mxpc-cli starting from version 2.11.0 and is still present in the latest version. This parameter is hidden. Is there a chance that you tried to use a version of mxpc-cli older than 2.11.0? Also, is it possible to share the error log message?

henobi commented 6 months ago

Hello @walkline, thank you for answer! I tried to reproduce the issue with version 2.14.0 and can confirm that it is working.

Initially, I used the code from the example folder with the default version in the code which is 2.10.0: https://github.com/aws-ia/terraform-aws-mendix-private-cloud/blob/main/examples/basic/variables.tf#L29

So that explains why it was not working.

What do you think about setting the version to 2.14.0 here?

Best regards,

Hendrik