Skip to content

Commit 255a05a

Browse files
authored
Validate Terraform input variables using OPA policies (#977)
* updates * updates * updates * updates * updates * updates * updates * updates * updates * updates * updates * updates * updates * updates * updates * updates * updates * updates * updates
1 parent 4cd79f1 commit 255a05a

File tree

15 files changed

+412
-96
lines changed

15 files changed

+412
-96
lines changed

cmd/cmd_utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ func showUsageAndExit(cmd *cobra.Command, args []string) {
587587
os.Exit(1)
588588
}
589589

590-
// getConfigAndStacksInfo gets the
590+
// getConfigAndStacksInfo processes the CLI config and stacks
591591
func getConfigAndStacksInfo(commandName string, cmd *cobra.Command, args []string) schema.ConfigAndStacksInfo {
592592
// Check Atmos configuration
593593
checkAtmosConfig()

cmd/terraform.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package cmd
22

33
import (
4+
"github.com/spf13/cobra"
5+
46
e "github.com/cloudposse/atmos/internal/exec"
57
"github.com/cloudposse/atmos/pkg/hooks"
68
u "github.com/cloudposse/atmos/pkg/utils"
7-
"github.com/spf13/cobra"
89
)
910

1011
type contextKey string

examples/quick-start-advanced/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG GEODESIC_OS=debian
66
# https://atmos.tools/
77
# https://github.com/cloudposse/atmos
88
# https://github.com/cloudposse/atmos/releases
9-
ARG ATMOS_VERSION=1.153.0
9+
ARG ATMOS_VERSION=1.156.0
1010

1111
# Terraform: https://github.com/hashicorp/terraform/releases
1212
ARG TF_VERSION=1.5.7

go.mod

+28-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)