e9c492d149
- Create action for setting up OpenTofu environment - Update Terraform workflow to use OpenTofu for infrastructure management - Modify backend configuration for S3 with new bucket and region - Add S3 bucket resources with lifecycle configuration - Update local variables and remove deprecated files - Include required Python packages for OpenTofu
16 lines
383 B
YAML
16 lines
383 B
YAML
name: Setup OpenTofu Environment
|
|
description: Prepare the environment for A13labs CI/CD pipelines
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Setup OpenTofu
|
|
uses: opentofu/setup-opentofu@v1
|
|
with:
|
|
terraform_version: 1.9.1
|
|
|
|
- name: Install required python packages
|
|
shell: bash
|
|
run: |
|
|
python3 -m pip install -r requirements/opentofu.txt
|