mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-25 11:21:11 +01:00
* Sync missing scenarios and modules * Clean up variables and examples vars * Add a `lint` make target for enos * Update enos `fmt` workflow to run the `lint` target. * Always use ipv4 addresses in target security groups. Signed-off-by: Ryan Cragun <me@ryan.ec>
32 lines
521 B
Makefile
32 lines
521 B
Makefile
.PHONY: default
|
|
default: check-fmt
|
|
|
|
.PHONY: check-fmt
|
|
check-fmt: check-fmt-enos check-fmt-modules
|
|
|
|
.PHONY: fmt
|
|
fmt: fmt-enos fmt-modules
|
|
|
|
.PHONY: check-fmt-enos
|
|
check-fmt-enos:
|
|
enos fmt --check --diff .
|
|
|
|
.PHONY: fmt-enos
|
|
fmt-enos:
|
|
enos fmt .
|
|
|
|
.PHONY: check-fmt-modules
|
|
check-fmt-modules:
|
|
terraform fmt -check -diff -recursive ./modules
|
|
|
|
.PHONY: fmt-modules
|
|
fmt-modules:
|
|
terraform fmt -diff -recursive ./modules
|
|
|
|
.PHONY: validate-enos
|
|
validate-enos:
|
|
enos scenario validate
|
|
|
|
.PHONY: lint
|
|
lint: check-fmt validate-enos
|