diff options
Diffstat (limited to 'app/models/clusters/providers/aws.rb')
-rw-r--r-- | app/models/clusters/providers/aws.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/clusters/providers/aws.rb b/app/models/clusters/providers/aws.rb index af2eba42721..f0f56d9ebd9 100644 --- a/app/models/clusters/providers/aws.rb +++ b/app/models/clusters/providers/aws.rb @@ -12,9 +12,9 @@ module Clusters belongs_to :cluster, inverse_of: :provider_aws, class_name: 'Clusters::Cluster' - default_value_for :region, DEFAULT_REGION - default_value_for :num_nodes, 3 - default_value_for :instance_type, 'm5.large' + attribute :region, default: DEFAULT_REGION + attribute :num_nodes, default: 3 + attribute :instance_type, default: "m5.large" attr_encrypted :secret_access_key, mode: :per_attribute_iv, |