Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)