terraform-provider-btp
Terraform provider for SAP BTP (by SAP)
btp-terraform-drift
Sample repository for showcasing remote backend and terraform drift detection (by btp-automation-scenarios)
terraform-provider-btp | btp-terraform-drift | |
---|---|---|
2 | 1 | |
68 | 1 | |
- | - | |
9.5 | 5.9 | |
1 day ago | about 2 months ago | |
Go | HCL | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
terraform-provider-btp
Posts with mentions or reviews of terraform-provider-btp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-02.
-
SAP BTP, Terraform and Open Policy Agent
When demoing the Terraform Provider for SAP BTP and talking about the advantages of Infrastructure as Code, one important aspect is that Terraform does not only provision the infrastructure but covers the management of the resources like updating configurations. While this is technically straightforward namely you update and apply the configuration, there are some challenges when doing this in a CI/CD setup.
-
Terraform Provider for SAP BTP - Remote State and Drift Detection
Another aspect worth to discuss is the integration into existing processes especially on the SAP side of the house. We implemented the flow and the "handling" (namely the creation of a GitHub issue) in an isolated fashion. However, we also received the ask to integrate the flow into the SAP solutions that might already deal with such governance tasks like SAP Cloud ALM. based on that we have a feature request open (link) in the repository of the Terraform Provider for SAP BTP. If you would like to share your point of view or vote for it, this is the place to go.
btp-terraform-drift
Posts with mentions or reviews of btp-terraform-drift.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-26.
-
Terraform Provider for SAP BTP - Remote State and Drift Detection
name: Check for Subaccount Drift via Terraform on: workflow_dispatch: inputs: PROJECT_NAME: description: "Name of the project" required: true default: "sample-proj-drift" REGION: description: "Region for the sub account" required: true default: "eu10" COST_CENTER: description: "Cost center for the project" required: true default: "1234567890" STAGE: description: "Stage for the project" required: true default: "DEV" ORGANIZATION: description: "Organization for the project" required: true default: "B2B" env: PATH_TO_TFSCRIPT: 'infra' jobs: execute_base_setuup: name: BTP Subaccount Drift Check runs-on: ubuntu-latest steps: - name: Check out Git repository id: checkout_repo uses: actions/checkout@v4 - name: Setup Terraform id : setup_terraform uses: hashicorp/setup-terraform@v3 with: terraform_wrapper: false terraform_version: latest - name: Terraform Init id: terraform_init shell: bash run: | export export ARM_ACCESS_KEY=${{ secrets.ARM_ACCESS_KEY }} terraform -chdir=${{ env.PATH_TO_TFSCRIPT }} init -no-color - name: Terraform Plan id: terraform_plan shell: bash continue-on-error: true run: | export ARM_ACCESS_KEY=${{ secrets.ARM_ACCESS_KEY }} export BTP_USERNAME=${{ secrets.BTP_USERNAME }} export BTP_PASSWORD=${{ secrets.BTP_PASSWORD }} terraform -chdir=${{ env.PATH_TO_TFSCRIPT }} plan -var globalaccount=${{ secrets.GLOBALACCOUNT }} -var region=${{ github.event.inputs.REGION }} -var project_name=${{ github.event.inputs.PROJECT_NAME }} -var stage=${{ github.event.inputs.STAGE }} -var costcenter=${{ github.event.inputs.COST_CENTER }} -var org_name=${{ github.event.inputs.ORGANIZATION }} -no-color -detailed-exitcode - name: Create issue if: steps.terraform_plan.outcome == 'failure' uses: actions/github-script@v7 env: PROJECT_NAME: ${{ github.event.inputs.PROJECT_NAME }} REGION: ${{ github.event.inputs.REGION }} STAGE: ${{ github.event.inputs.STAGE }} COST_CENTER: ${{ github.event.inputs.COST_CENTER }} RUN_ID : ${{ github.run_id }} with: script: | const issueTitle = `Configuration Drift Detected for ${process.env.PROJECT_NAME}` const issueBody = `A drift has been detected for ${process.env.PROJECT_NAME} in ${process.env.REGION} region. Stage is ${process.env.STAGE} and cost center is ${process.env.COST_CENTER}. Find more information in the run https://github.com/btp-automation-scenarios/btp-terraform-drift/actions/runs/${process.env.RUN_ID}` github.rest.issues.create({ owner: context.repo.owner, repo: context.repo.repo, labels: [ 'automated issue', 'drift detected' ], title: issueTitle, body: issueBody }) - name: State deviation - Set run to failed if: steps.terraform_plan.outcome == 'failure' uses: actions/github-script@v7 with: script: | core.setFailed('A configuration drift was detected!')