Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 79e7a4a304 |
@@ -1,11 +1,18 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# scripts/run_l2_lifecycle_destroy.sh — run a single L2 module lifecycle destroy.
|
# scripts/run_l2_lifecycle_destroy.sh — run a single L2 module lifecycle destroy.
|
||||||
#
|
#
|
||||||
# Usage: run_l2_lifecycle_destroy.sh <module> [ci-vpc-outputs.json]
|
# Usage: run_l2_lifecycle_destroy.sh <module>
|
||||||
#
|
#
|
||||||
# Wraps run_platform.sh for L2 composition modules in the modules-lifecycle
|
# Wraps run_platform.sh for L2 composition modules in the modules-lifecycle
|
||||||
# pipeline. Sets ACDL_REMOTE_STATE_KEY to point to the CI VPC state.
|
# pipeline. Sets ACDL_REMOTE_STATE_KEY to point to the CI VPC state.
|
||||||
#
|
#
|
||||||
|
# NOTE: unlike the L1 scripts (run_lifecycle_destroy.sh), the L2 path does
|
||||||
|
# NOT take a ci-vpc-outputs.json argument. L2 compositions reference the
|
||||||
|
# platform VPC via terraform_remote_state (a data source), not by injecting
|
||||||
|
# VPC outputs into the contract. The workflow passes 2 positional args for
|
||||||
|
# parity with the L1 matrix, but $2 is accepted-but-ignored here (documented,
|
||||||
|
# not a bug).
|
||||||
|
#
|
||||||
# Lifecycle mode (REQ-134): ACDL_LIFECYCLE_MODE default "plan" = no-op
|
# Lifecycle mode (REQ-134): ACDL_LIFECYCLE_MODE default "plan" = no-op
|
||||||
# (plan mode never applies resources, so there is nothing to destroy).
|
# (plan mode never applies resources, so there is nothing to destroy).
|
||||||
# Set to "full" for the real `--destroy` against live AWS.
|
# Set to "full" for the real `--destroy` against live AWS.
|
||||||
|
|||||||
@@ -1,13 +1,21 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# scripts/run_l2_lifecycle_test.sh — run a single L2 module lifecycle apply/modify.
|
# scripts/run_l2_lifecycle_test.sh — run a single L2 module lifecycle apply/modify.
|
||||||
#
|
#
|
||||||
# Usage: run_l2_lifecycle_test.sh <module> <example> [ci-vpc-outputs.json]
|
# Usage: run_l2_lifecycle_test.sh <module> <example>
|
||||||
#
|
#
|
||||||
# Wraps run_platform.sh for L2 composition modules in the modules-lifecycle
|
# Wraps run_platform.sh for L2 composition modules in the modules-lifecycle
|
||||||
# pipeline. Sets ACDL_REMOTE_STATE_KEY to point to the CI VPC state so the
|
# pipeline. Sets ACDL_REMOTE_STATE_KEY to point to the CI VPC state so the
|
||||||
# microservice composition's terraform_remote_state data source reads from
|
# microservice composition's terraform_remote_state data source reads from
|
||||||
# the short-lived CI VPC (not the long-lived platform VPC).
|
# the short-lived CI VPC (not the long-lived platform VPC).
|
||||||
#
|
#
|
||||||
|
# NOTE: unlike the L1 scripts (run_lifecycle_test.sh), the L2 path does NOT
|
||||||
|
# take a ci-vpc-outputs.json argument. L2 compositions reference the platform
|
||||||
|
# VPC via terraform_remote_state (a data source), not by injecting VPC
|
||||||
|
# outputs into the contract. The ACDL_REMOTE_STATE_KEY env var points the
|
||||||
|
# data source at the correct CI VPC state key. The workflow passes 3
|
||||||
|
# positional args for parity with the L1 matrix, but $3 is accepted-but-
|
||||||
|
# ignored here (documented, not a bug).
|
||||||
|
#
|
||||||
# Lifecycle mode (REQ-134): ACDL_LIFECYCLE_MODE default "plan" runs
|
# Lifecycle mode (REQ-134): ACDL_LIFECYCLE_MODE default "plan" runs
|
||||||
# `run_platform.sh --plan-only` (fast, no AWS mutation). Set to "full" for
|
# `run_platform.sh --plan-only` (fast, no AWS mutation). Set to "full" for
|
||||||
# the real `--apply` against live AWS.
|
# the real `--apply` against live AWS.
|
||||||
|
|||||||
Reference in New Issue
Block a user