Рет қаралды 214
This session talked about some best practices of managing Terraform state files and demo'ed through configurations of remote backend.
Timestamps:
0:00 - Best Practice of managing Terraform State
05:30 - Demo part 1: Configure Postgres as remote backend
16:11 - Demo part 2: Configure S3 and DynamoDB as remote backend
19:46 - Demo part 3: Limitation with Terraform's remote backend and fix
37:33 - Demo part 4: Configure Azure Blob as remote backend
PostgresDB configuration:
1. brew install postgresql
2. psql postgres
3. CREATE DATEBASE terraform_state;
4. CREATE USER terraform WITH PASSWORD ‘123’;
5. GRANT ALL ON database terraform_state TO terraform;
6. \l
7. \c terraform_state
developer.hashicorp.com/terra...
Github repo: github.com/zzhao2010/zzTalk-t...
@zztalk #terraform #postgres #awss3 #azure #dynamodb #terraformtutorial