astaclinic / vita

0 stars 0 forks source link

chore: migrate terraform state to GCS bucket #25

Closed STommydx closed 1 year ago

github-actions[bot] commented 1 year ago

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output ``` Success! The configuration is valid. ```

Terraform Plan 📖success

Show Plan ``` terraform Acquiring state lock. This may take a few moments... aws_lightsail_static_ip.vita_db_ip: Refreshing state... [id=vita_db_ip] aws_lightsail_key_pair.vita_db_key: Refreshing state... [id=vita_db_key] local_sensitive_file.private_key: Refreshing state... [id=5c2c7f72507f28d9254f7d23bed4dafc42520c8d] aws_lightsail_instance.vita_db: Refreshing state... [id=mongo-enterprise] local_file.ansible_inventory: Refreshing state... [id=17f58a7d6deb541465a2e41c16c913016a9400be] aws_lightsail_static_ip_attachment.vita_db_ip_attach: Refreshing state... [id=vita_db_ip] aws_lightsail_instance_public_ports.vita_db_ports: Refreshing state... [id=mongo-enterprise-568155360] null_resource.lightsail_provisioner: Refreshing state... [id=5920616226717667760] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # local_file.ansible_inventory will be created + resource "local_file" "ansible_inventory" { + content = <<-EOT [mongo-enterprise] 52.76.220.106 [mongo-enterprise:vars] ansible_ssh_common_args='-o StrictHostKeyChecking=accept-new' EOT + directory_permission = "0777" + file_permission = "0777" + filename = "./provisioning/inventory" + id = (known after apply) } # local_sensitive_file.private_key will be created + resource "local_sensitive_file" "private_key" { + content = (sensitive value) + directory_permission = "0700" + file_permission = "0400" + filename = "./private.key" + id = (known after apply) } Plan: 2 to add, 0 to change, 0 to destroy. ───────────────────────────────────────────────────────────────────────────── Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now. Releasing state lock. This may take a few moments... ```

Pusher: @STommydx, Action: pull_request, Working Directory: `, Workflow:Terraform Dev`