class GeoEngineer::Resources::AwsIamAccountPasswordPolicy

AwsIamPasswordPolicy aws_iam_password_policy terrform resource,

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

Constants

SINGLETON_ID

There can only be a single IAM account password policy - use this constant as the Geo ID

Public Instance Methods

find_remote_as_individual?() click to toggle source
# File lib/geoengineer/resources/aws_iam_account_password_policy.rb, line 22
def find_remote_as_individual?
  true
end
remote_resource_params() click to toggle source
# File lib/geoengineer/resources/aws_iam_account_password_policy.rb, line 26
def remote_resource_params
  password_policy = AwsClients.iam(fetch_provider)
                              .get_account_password_policy.password_policy.to_h
  password_policy.merge({ _geo_id: SINGLETON_ID, _terraform_id: SINGLETON_ID })
rescue Aws::IAM::Errors::NoSuchEntity
  {}
end
support_tags?() click to toggle source
# File lib/geoengineer/resources/aws_iam_account_password_policy.rb, line 18
def support_tags?
  false
end