class GeoEngineer::Resources::AwsSnsTopic

AwsSnsTopic is the aws_sns_topic terrform resource,

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

Public Class Methods

_fetch_remote_resources(provider) click to toggle source
# File lib/geoengineer/resources/aws_sns_topic.rb, line 19
def self._fetch_remote_resources(provider)
  AwsClients.sns(provider).list_topics.topics.map(&:to_h).map do |topic|
    {
      _terraform_id: topic[:topic_arn],
      _geo_id: topic[:topic_arn],
      name: topic[:topic_arn].split(':').last
    }
  end
end

Public Instance Methods

support_tags?() click to toggle source
# File lib/geoengineer/resources/aws_sns_topic.rb, line 15
def support_tags?
  false
end