-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: google cloud provider #98
Conversation
…provider # Conflicts: # tools/poetry.lock # tools/pyproject.toml
…provider # Conflicts: # tools/pyproject.toml
resource "google_kms_crypto_key" "vault_unseal_key" { | ||
name = "vault-unseal" | ||
key_ring = google_kms_key_ring.vault_key_ring.id | ||
rotation_period = "100000s" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
27.77 hours looks a bit strange to me. Couldn't we set it to 24h at least or follow AWS and Azure approach where it's 365d?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't use 24h here, It must be greater than a day (ie, 86400).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Made it 365d.
""" | ||
Restrict access to cloud native terraform remote state storage | ||
""" | ||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any possible way to protect state storage on GCP?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Found a way, it should work fine in our case.
tools/cli/commands/setup.py
Outdated
@@ -1052,3 +1085,14 @@ def setup_param_validator(params: StateStore) -> bool: | |||
return False | |||
|
|||
return True | |||
|
|||
|
|||
def get_dns_deployment_name_by_cloud_provider(cloud_provider) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good candidate to go under cloud provider manager "interface"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, moved to cloud manager class.
…d implement GCP storage security hardening - Fixed comments for clarity and accuracy. - Added logic to check the installation of additional gcloud components. - Introduced typing annotations for better code clarity and robustness. - Generated and updated docstrings for all methods using reST style. - Implemented logic to enforce strict access control policies on GCP storage buckets.
…:CloudGeometry/cg-devx-core-private into feature/google-cloud-provider
Description of the Change
This pull request introduces support for Google Cloud Platform (GCP), enabling our platform to leverage a wide range of cloud services provided by Google.