Sha256: ef855a527c5dd196bc99d72192194a9a2b978abe9b96cbb018a123a12b1dd4f2

Contents?: true

Size: 295 Bytes

Versions: 7

Compression:

Stored size: 295 Bytes

Contents

module Ufo::TaskDefinition::Helpers
  module Ecr
    def ecr_repo(name)
      repository = ecr_repository(name)
      repository.repository_uri
    end

    def ecr_repository(name)
      resp = ecr.describe_repositories(repository_names: [name])
      resp.repositories.first
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ufo-6.0.9 lib/ufo/task_definition/helpers/ecr.rb
ufo-6.0.8 lib/ufo/task_definition/helpers/ecr.rb
ufo-6.0.7 lib/ufo/task_definition/helpers/ecr.rb
ufo-6.0.6 lib/ufo/task_definition/helpers/ecr.rb
ufo-6.0.5 lib/ufo/task_definition/helpers/ecr.rb
ufo-6.0.4 lib/ufo/task_definition/helpers/ecr.rb
ufo-6.0.3 lib/ufo/task_definition/helpers/ecr.rb