Sha256: 2b8374a6ee57458c1ee9090f64b068a91ef1f0df13e4d8185ab263cf42b93052
Contents?: true
Size: 780 Bytes
Versions: 4
Compression:
Stored size: 780 Bytes
Contents
require "memoist" require "terraspace" # for interface require "terraspace_plugin_aws/version" require "terraspace_plugin_aws/autoloader" TerraspacePluginAws::Autoloader.setup module TerraspacePluginAws class Error < StandardError; end # Friendlier method for config/plugins/aws.rb. Example: # # TerraspacePluginAws.configure do |config| # config.s3.encrypt = true # end # def configure(&block) Interfaces::Config.instance.configure(&block) end def config Interfaces::Config.instance.config end extend self end Terraspace::Plugin.register("aws", backend: "s3", config_class: TerraspacePluginAws::Interfaces::Config, layer_class: TerraspacePluginAws::Interfaces::Layer, # used for layering root: File.dirname(__dir__), )
Version data entries
4 entries across 4 versions & 1 rubygems