belt 0.3.24 → 0.3.25
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.
- checksums.yaml +4 -4
- data/lib/belt/cli/setup_command.rb +5 -1
- data/lib/belt/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f40dfd0e0c761eeecce4896ee9c8f55ac9a97e98dd734d3c12e713a110d65a1
|
|
4
|
+
data.tar.gz: 88ef3eea4944d9edac97929f83e892fb4e204fcab15c7cdbace48356e4cb0cab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c84e237feafd376b1064d624d0d6bf89bd2409363eb660e2f3c03c1d35a5023b98fcee81b1d826dc8ebcb7e5a0a3fe18c1635006ec771be7d514c5d6e051a546
|
|
7
|
+
data.tar.gz: 9d342d91da2029541c4f238e36f055bcbf4118c6d8087c00be5defa5b6e0d9b66e8c5f24b73e69e52a983acc7363f020ed6b6b538499e2bbe4c19e903da9ac72
|
|
@@ -94,7 +94,11 @@ module Belt
|
|
|
94
94
|
setup_or_verify_bucket
|
|
95
95
|
apply_lifecycle(@bucket_name)
|
|
96
96
|
say ' ensure lifecycle rules (90-day noncurrent expiration)'
|
|
97
|
-
|
|
97
|
+
|
|
98
|
+
# Only update backend configs when we know the target scope.
|
|
99
|
+
# If --aws-profile is set but no env_name, we're creating a bucket for a specific
|
|
100
|
+
# account (e.g., DNS infrastructure) — don't touch other environments' backends.
|
|
101
|
+
update_backend_config unless @aws_profile && @env_name.nil?
|
|
98
102
|
print_success_message
|
|
99
103
|
end
|
|
100
104
|
|
data/lib/belt/version.rb
CHANGED