Uploaded image for project: 'Ansible Cloud Automation'
  1. Ansible Cloud Automation
  2. ACA-1170

Add a new role to create a Terraform remote state backend in Google Cloud Storage

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2.5, Testing
    • None
    • None
    • None

      Background

      As part of the AAP Terraform integration users need the ability to create a remote Terraform state backend that they can use to manage Terraform state. We will create several validated content roles to make this process easier.

      For the GCP backend, create a new role in the cloud.terraform_ops repo that will ensure the necessary GCP infrastructure is present for a GCS remote backend for Terraform. This role should ensure that:

      • the specified GCS bucket is present
      • bucket versioning is enabled on the GCS bucket

      Definition of Done

      • A new role exists in the cloud.terraform_ops collection that can create the GCP resources described above
      • A user should be able to create the resources using the role and then run terraform init && terraform apply on a TF project with the newly created backend configuration
      • A short demo showcasing the functionality has been recorded

              mandkulk@redhat.com Mandar Kulkarni
              rh-ee-hebailey Helen Bailey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: