Cryptofile in cryptoform-0.2.0 vs Cryptofile in cryptoform-0.4.0
- old
+ new
@@ -1,13 +1,8 @@
# frozen_string_literal: true
port 3000
-state :state1 do
- storage_backend :file, name: "state1.tfstate.enc"
- encryption_backend :lockbox, key: -> { ENV.fetch("CRYPTOFORM_KEY") }
-end
-
-state :state2 do
- storage_backend :file, name: "state2.tfstate.enc"
+state :state do
+ storage_backend :file
encryption_backend :lockbox, key: -> { ENV.fetch("CRYPTOFORM_KEY") }
end