Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adenilson365/strategy-rollout-rollback-gcp-tf
Amazena o terraform do projeto strategy-rollout-rollback-gcp
https://github.com/adenilson365/strategy-rollout-rollback-gcp-tf
Last synced: about 1 month ago
JSON representation
Amazena o terraform do projeto strategy-rollout-rollback-gcp
- Host: GitHub
- URL: https://github.com/adenilson365/strategy-rollout-rollback-gcp-tf
- Owner: Adenilson365
- Created: 2024-10-25T09:52:24.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T11:07:25.000Z (3 months ago)
- Last Synced: 2024-10-29T13:11:01.745Z (3 months ago)
- Language: HCL
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Documentação
### Links
- [Terraform/Providers](https://registry.terraform.io/providers/hashicorp/google/latest/docs)
- [Hashicorp/Terraform](https://developer.hashicorp.com/terraform/language/backend)### Configuração Inicial
- Crie o arquivo backend.tf e providers.tf
```tf
provider "google" {
project = "id_do_projeto"
credentials = file("seu_credentials")
region = "região_default"
}
```
```tf
terraform {
backend "gcs" {
bucket = "nome_do_bucket_de_backend"
prefix = ""
credentials = "arquivo_credentials"
}
}data "terraform_remote_state" "foo" {
backend = "gcs"
config = {
bucket = "nome_seu_bucket"
prefix = "prod"}
}```
## Documentação provider
- [GKE - cluster](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster)
- [GKE - NodePool](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_node_pool)