@gebit/stax-cli 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/templates.js
CHANGED
|
@@ -73,14 +73,22 @@ const REQUIRED_DEPLOYMENT_VALUES = {
|
|
|
73
73
|
stage: "dev",
|
|
74
74
|
cloud: "azure",
|
|
75
75
|
default_location: "northeurope",
|
|
76
|
+
},
|
|
77
|
+
"optional, defaults to true": {
|
|
76
78
|
public_cloud_flag: "true",
|
|
77
79
|
},
|
|
78
80
|
"required for azure": {
|
|
79
81
|
resource_group_name: "my-resource-group",
|
|
80
|
-
dns_zone_name: "example.com",
|
|
81
82
|
dns_zone_resource_group_name: "my-dns-resource-group",
|
|
82
83
|
state_storage_account_name: "mystatestorage",
|
|
84
|
+
},
|
|
85
|
+
"optional for azure, defaults to the GitHub Environment name": {
|
|
86
|
+
dns_zone_name: "example.com",
|
|
87
|
+
},
|
|
88
|
+
"optional for azure, defaults to <customer_id>-tfstate": {
|
|
83
89
|
state_container_name: "tfstate",
|
|
90
|
+
},
|
|
91
|
+
"optional for azure, defaults to resource_group_name": {
|
|
84
92
|
state_resource_group_name: "my-state-resource-group",
|
|
85
93
|
},
|
|
86
94
|
"required for aws": {
|
package/package.json
CHANGED
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"cloud": { "description": "Azure or AWS, case-insensitive; falls back to CLOUD.", "type": ["string", "null"], "pattern": "^(?:[aA][zZ][uU][rR][eE]|[aA][wW][sS]|[^\\S\\r\\n]*)$" },
|
|
59
59
|
"default_location": { "description": "Cloud region; falls back to DEFAULT_LOCATION.", "$ref": "#/$defs/deploymentValue" },
|
|
60
60
|
"resource_group_name": { "description": "Azure resource group; falls back to RESOURCE_GROUP_NAME.", "$ref": "#/$defs/deploymentValue" },
|
|
61
|
-
"public_cloud_flag": { "description": "Public-cloud flag; falls back to PUBLIC_CLOUD_FLAG. An explicit false overrides GitHub.", "type": ["boolean", "string", "null"], "pattern": "^(?:true|false|[^\\S\\r\\n]*)$" },
|
|
62
|
-
"dns_zone_name": { "description": "DNS zone; falls back to DNS_ZONE_NAME.", "$ref": "#/$defs/deploymentValue" },
|
|
61
|
+
"public_cloud_flag": { "description": "Public-cloud flag; falls back to PUBLIC_CLOUD_FLAG, then to true. An explicit false overrides GitHub.", "type": ["boolean", "string", "null"], "pattern": "^(?:true|false|[^\\S\\r\\n]*)$" },
|
|
62
|
+
"dns_zone_name": { "description": "DNS zone; falls back to DNS_ZONE_NAME, then (Azure deployments) to the GitHub Environment name.", "$ref": "#/$defs/deploymentValue" },
|
|
63
63
|
"dns_zone_resource_group_name": { "description": "Azure DNS resource group; falls back to DNS_ZONE_RESOURCE_GROUP_NAME.", "$ref": "#/$defs/deploymentValue" },
|
|
64
64
|
"state_storage_account_name": { "description": "Azure state account; falls back to STATE_STORAGE_ACCOUNT_NAME.", "$ref": "#/$defs/deploymentValue" },
|
|
65
|
-
"state_container_name": { "description": "Azure state container; falls back to STATE_CONTAINER_NAME.", "$ref": "#/$defs/deploymentValue" },
|
|
66
|
-
"state_resource_group_name": { "description": "Azure state resource group; falls back to STATE_RESOURCE_GROUP_NAME.", "$ref": "#/$defs/deploymentValue" },
|
|
65
|
+
"state_container_name": { "description": "Azure state container; falls back to STATE_CONTAINER_NAME, then to <customer_id>-tfstate.", "$ref": "#/$defs/deploymentValue" },
|
|
66
|
+
"state_resource_group_name": { "description": "Azure state resource group; falls back to STATE_RESOURCE_GROUP_NAME, then to resource_group_name.", "$ref": "#/$defs/deploymentValue" },
|
|
67
67
|
"state_bucket_name": { "description": "AWS state bucket; falls back to STATE_BUCKET_NAME.", "$ref": "#/$defs/deploymentValue" },
|
|
68
68
|
"state_region": { "description": "AWS state region; falls back to STATE_REGION.", "$ref": "#/$defs/deploymentValue" },
|
|
69
69
|
"aws_endpoint_url": { "description": "AWS only: base endpoint for every AWS service, e.g. a MinIO server; falls back to AWS_ENDPOINT_URL. https, or http on localhost.", "$ref": "#/$defs/endpointUrl" },
|