User Tools

Site Tools


terraformpostgresql

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
terraformpostgresql [2024/11/28 22:33] z0hpvkterraformpostgresql [2025/03/08 22:24] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ===== Terraform with PostgreSQL ===== ===== Terraform with PostgreSQL =====
  
-==== Microsoft Azure ====+==== Microsoft Azure and PostgreSQL Flexible Server ====
  
 === Useful Links === === Useful Links ===
Line 9: Line 9:
 [https://github.com/Azure/terraform/tree/master/quickstart/201-postgresql-fs-db]\\ [https://github.com/Azure/terraform/tree/master/quickstart/201-postgresql-fs-db]\\
 [https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/postgresql_flexible_server] [https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/postgresql_flexible_server]
 +
 +The below commands will initialise Terraform, create an execution plan and apply it.\\
 +Afterwards you can clean up the resources created via the terraform destroy command.\\
 +<code>
 +terraform init -upgrade
 +terraform validate
 +terraform plan -out main.tfplan
 +terraform apply main.tfplan
 +
 +terraform plan -destroy -out main.destroy.tfplan
 +terraform apply main.destroy.tfplan
 +</code>
  
 === Terraform Code === === Terraform Code ===
terraformpostgresql.1732833220.txt.gz · Last modified: 2025/03/08 22:23 (external edit)