Skip to content
New issue

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

phpipam outputs "invalid request" on "automatic database installation" #2114

Closed
PapaPeskwo opened this issue Feb 28, 2024 · 5 comments · Fixed by #2119
Closed

phpipam outputs "invalid request" on "automatic database installation" #2114

PapaPeskwo opened this issue Feb 28, 2024 · 5 comments · Fixed by #2119
Assignees

Comments

@PapaPeskwo
Copy link
Contributor

Describe the bug
The terraform script does not output cloudsql_password. Hardcoding something in the tfvars makes it output cloudsql_password. It still does not solve the issue with "automatic database installation" returning "invalid request" when trying to install. I get jQuery error on firefox, brave, and safari. Only Mullvad browser works. The .nip.io address doesn't work, only the cloud_run_service URL works.

Environment

Terraform v1.7.4
on darwin_amd64
+ provider registry.terraform.io/hashicorp/google v5.18.0
+ provider registry.terraform.io/hashicorp/google-beta v5.18.0
+ provider registry.terraform.io/hashicorp/random v3.6.0
+ provider registry.terraform.io/hashicorp/tls v4.0.5
git rev-parse --short HEAD
23c67238

To Reproduce
Steps to reproduce the behavior:
I followed the steps and only added the project id. Infrastructure gets set up accordingly but the phpipam installation does not work. If you don't set the cloudsql_password in the tfvars, you will not get a password output for it.

@ludoo
Copy link
Collaborator

ludoo commented Feb 28, 2024

I'm having a hard time figuring our what your issue is. Can you point to a module or blueprint, and provide repro steps please?

@PapaPeskwo
Copy link
Contributor Author

My bad! it's the phpipam blueprint located in blueprints/third-party-solutions/phpipam

link: https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/blueprints/third-party-solutions/phpipam

@ludoo
Copy link
Collaborator

ludoo commented Feb 28, 2024

@simonebruzzechesse can you take a look? I think that blueprint is yours

@simonebruzzechesse
Copy link
Collaborator

@PapaPeskwo Thanks for reaching out, I can confirm the issue on Cloud SQL password missing on the output. I don't know if the issue on phpipam is a regression, I was able to fix it following this solution. The PR should fix everything, please give it a try and let me know! :)

@PapaPeskwo
Copy link
Contributor Author

Hello, just tried it and it all works! Thank you so much for the quick fix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants