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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e5f26e4b71c7d784ea8e6a2596952a21d9357f65a9284b9358c5c79a34e50a8
4
- data.tar.gz: f98d7e78c1620e38700eb53151cbf21daaace261f0b2802dc36633665bc50d1d
3
+ metadata.gz: 5f40dfd0e0c761eeecce4896ee9c8f55ac9a97e98dd734d3c12e713a110d65a1
4
+ data.tar.gz: 88ef3eea4944d9edac97929f83e892fb4e204fcab15c7cdbace48356e4cb0cab
5
5
  SHA512:
6
- metadata.gz: d6d165f29d693cbc4cd19b693a74867ad578c70bcc255ffc25672ae616694a7604870e090800df16a73d6534e772d95fd417bdad888c07674f15998f838cdaa7
7
- data.tar.gz: 835dfd43f148de3966d7cba26784922b2c6f952ab24d1c9fb61abf4f51f596d29107526c91a6cdba5be191f061f91acd6504298bd6067ccc756ac7b556b09a88
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
- update_backend_config
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Belt
4
- VERSION = '0.3.24'
4
+ VERSION = '0.3.25'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: belt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.24
4
+ version: 0.3.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stowzilla