Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

[Bedrock] Update Bedrock Integration tests to have terraform commands and terratest script separate #985

@NathanielRose

Description

@NathanielRose

As a: Developer

I want: Decoupling of Terraform commands from the Bedrock terratest integration scripts

So that: I can know when an integration test fails during deployment of resources, interoperability of resources, and deletion of resources.

Describe the solution you'd like: Terratest scripts should no longer directly call terraform commands, this should be handled by the pipeline yaml in separate steps. In addition, variable configurations should be passed between steps from successful terraform apply to the terratest validation.

Acceptance Criteria:

  • Decouple terraform init, plan, apply and destroy to separate steps in a template pipeline
  • Pass terraform configuration once successfully applied to terratest script
  • Build logic that surfaces cloud shell failures vs script failures

Additional context:
Task of #964

Does this require updates to documentation?:
Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort - Mless than one week effortenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions