class GeoEngineer::Resources::AwsElasticacheParameterGroup

AwsElasticacheParameterGroup is the aws_elasticache_parameter_group terrform resource,

{www.terraform.io/docs/providers/aws/r/elasticache_parameter_group.html Terraform Docs}

Public Class Methods

_fetch_remote_resources(provider) click to toggle source
# File lib/geoengineer/resources/aws_elasticache_parameter_group.rb, line 21
def self._fetch_remote_resources(provider)
  ec = AwsClients.elasticache(provider)
  ec.describe_cache_parameter_groups['cache_parameter_groups'].map(&:to_h).map do |pg|
    pg[:_terraform_id] = pg[:cache_parameter_group_name]
    pg[:_geo_id] = pg[:cache_parameter_group_name]
    pg[:name] = pg[:cache_parameter_group_name]
    pg
  end
end

Public Instance Methods

short_type() click to toggle source
# File lib/geoengineer/resources/aws_elasticache_parameter_group.rb, line 17
def short_type
  "ecpg"
end
support_tags?() click to toggle source
# File lib/geoengineer/resources/aws_elasticache_parameter_group.rb, line 13
def support_tags?
  false
end