Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: "OpenTofu Apply"
on:
push:
branches:
- master
- main
permissions:
id-token: write
contents: read
pull-requests: write
jobs:
opentofu_apply_dev:
name: "OpenTofu Apply - Dev"
uses: LF-Engineering/lfx-cloudops-misc/.github/workflows/lfx-opentofu-apply.yml@main

Check failure on line 17 in .github/workflows/opentofu-apply.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/opentofu-apply.yml

Invalid workflow file

error parsing called workflow ".github/workflows/opentofu-apply.yml" -> "LF-Engineering/lfx-cloudops-misc/.github/workflows/lfx-opentofu-apply.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
environment: dev
opentofu_backend_config: |
bucket=lfx-terraform-state-<project_name>
dynamodb_table=lfx-terraform-state-<project_name>
secrets:
env_secret: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
opentofu_apply_prod:
name: "OpenTofu Apply - Prod"
needs: opentofu_apply_dev
uses: LF-Engineering/lfx-cloudops-misc/.github/workflows/lfx-opentofu-apply.yml@main
with:
environment: prod
opentofu_backend_config: |
bucket=lfx-terraform-state-<project_name>
dynamodb_table=lfx-terraform-state-<project_name>
secrets:
env_secret: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}