Open an0rak-dev opened 5 years ago
Hello,
First, thanks for those samples, it helps me a lot everyday ! 😄
In the Import CloudSQL sample, one of the prerequisites is to publicly share the SQL Dump. I think that this could be a bad practice and leads to security flaws ( https://github.com/GoogleCloudPlatform/deploymentmanager-samples/tree/master/examples/v2/cloudsql_import#prerequsites ).
Maybe, we can change the orchestration of the DM script this way :
Storage Object Viewer
I can do the actual PR if you want so 😃
PR done ;) thanks for the feedback. #468
Hi @oussamahammami
Thanks for the PR ! :D
Hello,
First, thanks for those samples, it helps me a lot everyday ! 😄
In the Import CloudSQL sample, one of the prerequisites is to publicly share the SQL Dump. I think that this could be a bad practice and leads to security flaws ( https://github.com/GoogleCloudPlatform/deploymentmanager-samples/tree/master/examples/v2/cloudsql_import#prerequsites ).
Maybe, we can change the orchestration of the DM script this way :
Storage Object Viewer
permission to the GCS bucketI can do the actual PR if you want so 😃