tfc_utils

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const MR_COMMENT_FORMAT = `
### Terraform Cloud
%s
`
View Source
const MR_RUN_DETAILS_FORMAT = `
#### Workspace: %s

**Status**: %s

[%s](%s)

%s
---
`
View Source
const ORG_NAME = "foo-corp"
View Source
const RUN_MESSAGE_PREFIX = "GitLab CI Scheduled"
View Source
const RunInfo = "%s:\n ID: %s	Status: %-12s	Source: %-20s	Commit Message: %s URL: https://app.terraform.io/app/zapier/workspaces/%s/runs/%s \n"
View Source
const TFC_NO_CHANGE = "Run not triggered: Terraform working directories did not change."
View Source
const TFC_POLICY_STATUS_PREFIX = `sentinel/`
View Source
const TFC_RUN_STATUS_PREFIX = `Terraform Cloud/`

Variables

This section is empty.

Functions

func LockUnlockWorkspace

func LockUnlockWorkspace(ctx context.Context, token, workspace string, lock bool, lockReason string)

func MonitorRunStatus

func MonitorRunStatus()

func StartScheduledRun

func StartScheduledRun(token, workspace string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL