class GeoEngineer::Resources::AwsIamInstanceProfile

AwsIamInstanceProfile aws_iam_instance_profile terrform resource,

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

Public Class Methods

_fetch_remote_resources(provider) click to toggle source
# File lib/geoengineer/resources/aws_iam_instance_profile.rb, line 18
def self._fetch_remote_resources(provider)
  profiles = AwsClients.iam(provider).list_instance_profiles['instance_profiles'].map(&:to_h)
  profiles.map do |p|
    {
      name: p[:instance_profile_name],
      _geo_id: p[:instance_profile_name],
      _terraform_id: p[:instance_profile_name]
    }
  end
end

Public Instance Methods

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