You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-48Lines changed: 19 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,12 +33,6 @@ Terraform module to provision an [`AWS ECR Docker Container registry`](https://a
33
33
---
34
34
35
35
This project is part of our comprehensive ["SweetOps"](https://cpco.io/sweetops) approach towards DevOps.
36
-
[<imgalign="right"title="Share via Email"src="https://docs.cloudposse.com/images/ionicons/ios-email-outline-2.0.1-16x16-999999.svg"/>][share_email]
37
-
[<imgalign="right"title="Share on Google+"src="https://docs.cloudposse.com/images/ionicons/social-googleplus-outline-2.0.1-16x16-999999.svg" />][share_googleplus]
38
-
[<imgalign="right"title="Share on Facebook"src="https://docs.cloudposse.com/images/ionicons/social-facebook-outline-2.0.1-16x16-999999.svg" />][share_facebook]
39
-
[<imgalign="right"title="Share on Reddit"src="https://docs.cloudposse.com/images/ionicons/social-reddit-outline-2.0.1-16x16-999999.svg" />][share_reddit]
40
-
[<imgalign="right"title="Share on LinkedIn"src="https://docs.cloudposse.com/images/ionicons/social-linkedin-outline-2.0.1-16x16-999999.svg" />][share_linkedin]
41
-
[<imgalign="right"title="Share on Twitter"src="https://docs.cloudposse.com/images/ionicons/social-twitter-outline-2.0.1-16x16-999999.svg" />][share_twitter]
42
36
43
37
44
38
[][terraform_modules]
@@ -88,10 +82,6 @@ We highly recommend that in your code you pin the version to the exact version y
88
82
using so that your infrastructure remains stable, and update versions in a
89
83
systematic way so that they do not catch you by surprise.
90
84
91
-
Also, because of a bug in the Terraform registry ([hashicorp/terraform#21417](https://github.com/hashicorp/terraform/issues/21417)),
92
-
the registry shows many of our inputs as required when in fact they are optional.
93
-
The table below correctly indicates which inputs are required.
94
-
95
85
96
86
The module creates one or more Elastic Container Registry (ECR) repositories. All repositories created
97
87
will share the same configuration. Use this module multiple times to create repositories with
|[aws_iam_policy_document.empty](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
179
169
|[aws_iam_policy_document.lambda_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
170
+
|[aws_iam_policy_document.organization_full_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
171
+
|[aws_iam_policy_document.organization_push_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
172
+
|[aws_iam_policy_document.organizations_readonly_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
180
173
|[aws_iam_policy_document.resource](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
181
174
|[aws_iam_policy_document.resource_full_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
182
175
|[aws_iam_policy_document.resource_push_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
@@ -207,6 +200,9 @@ Available targets:
207
200
| <aname="input_max_image_count"></a> [max\_image\_count](#input\_max\_image\_count)| How many Docker Image versions AWS ECR will store |`number`|`500`| no |
208
201
| <aname="input_name"></a> [name](#input\_name)| ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'.<br>This is the only ID element not also included as a `tag`.<br>The "name" tag is set to the full `id` string. There is no tag with the value of the `name` input. |`string`|`null`| no |
209
202
| <aname="input_namespace"></a> [namespace](#input\_namespace)| ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp', to help ensure generated IDs are globally unique |`string`|`null`| no |
203
+
| <aname="input_organizations_full_access"></a> [organizations\_full\_access](#input\_organizations\_full\_access)| Organization IDs to provide with full access to the ECR. |`list(string)`|`[]`| no |
204
+
| <aname="input_organizations_push_access"></a> [organizations\_push\_access](#input\_organizations\_push\_access)| Organization IDs to provide with push access to the ECR |`list(string)`|`[]`| no |
205
+
| <aname="input_organizations_readonly_access"></a> [organizations\_readonly\_access](#input\_organizations\_readonly\_access)| Organization IDs to provide with readonly access to the ECR. |`list(string)`|`[]`| no |
210
206
| <aname="input_principals_full_access"></a> [principals\_full\_access](#input\_principals\_full\_access)| Principal ARNs to provide with full access to the ECR |`list(string)`|`[]`| no |
211
207
| <aname="input_principals_lambda"></a> [principals\_lambda](#input\_principals\_lambda)| Principal account IDs of Lambdas allowed to consume ECR |`list(string)`|`[]`| no |
212
208
| <aname="input_principals_push_access"></a> [principals\_push\_access](#input\_principals\_push\_access)| Principal ARNs to provide with push access to the ECR |`list(string)`|`[]`| no |
@@ -237,8 +233,6 @@ Available targets:
237
233
238
234
Like this project? Please give it a ★ on [our GitHub](https://github.com/cloudposse/terraform-aws-ecr)! (it helps us **a lot**)
239
235
240
-
Are you using this project or any of our other projects? Consider [leaving a testimonial][testimonial]. =)
241
-
242
236
243
237
244
238
## Related Projects
@@ -282,10 +276,6 @@ We deliver 10x the value for a fraction of the cost of a full-time engineer. Our
282
276
283
277
Join our [Open Source Community][slack] on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
284
278
285
-
## Discourse Forums
286
-
287
-
Participate in our [Discourse Forums][discourse]. Here you'll find answers to commonly asked questions. Most questions will be related to the enormous number of projects we support on our GitHub. Come here to collaborate on answers, find solutions, and get ideas about the products and services we value. It only takes a minute to get started! Just sign in with SSO using your GitHub account.
288
-
289
279
## Newsletter
290
280
291
281
Sign up for [our newsletter][newsletter] that covers everything on our technology radar. Receive updates on what we're up to on GitHub as well as awesome new projects we discover.
@@ -296,7 +286,18 @@ Sign up for [our newsletter][newsletter] that covers everything on our technolog
@@ -370,29 +371,7 @@ We're a [DevOps Professional Services][hire] company based in Los Angeles, CA. W
370
371
371
372
We offer [paid support][commercial_support] on all of our projects.
372
373
373
-
Check out [our other projects][github], [follow us on twitter][twitter], [apply for a job][jobs], or [hire us][hire] to help with your cloud strategy and implementation.
Check out [our other projects][github], [follow us on twitter][twitter], [apply for a job][jobs], or [hire us][hire] to help with your cloud strategy and implementation.[![README Footer][readme_footer_img]][readme_footer_link]
396
375
[![Beacon][beacon]][website]
397
376
<!-- markdownlint-disable -->
398
377
[logo]: https://cloudposse.com/logo-300x69.svg
@@ -402,12 +381,10 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply
|[aws_iam_policy_document.empty](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
29
29
|[aws_iam_policy_document.lambda_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
30
+
|[aws_iam_policy_document.organization_full_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
31
+
|[aws_iam_policy_document.organization_push_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
32
+
|[aws_iam_policy_document.organizations_readonly_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
30
33
|[aws_iam_policy_document.resource](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
31
34
|[aws_iam_policy_document.resource_full_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
32
35
|[aws_iam_policy_document.resource_push_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
@@ -57,6 +60,9 @@
57
60
| <aname="input_max_image_count"></a> [max\_image\_count](#input\_max\_image\_count)| How many Docker Image versions AWS ECR will store |`number`|`500`| no |
58
61
| <aname="input_name"></a> [name](#input\_name)| ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'.<br>This is the only ID element not also included as a `tag`.<br>The "name" tag is set to the full `id` string. There is no tag with the value of the `name` input. |`string`|`null`| no |
59
62
| <aname="input_namespace"></a> [namespace](#input\_namespace)| ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp', to help ensure generated IDs are globally unique |`string`|`null`| no |
63
+
| <aname="input_organizations_full_access"></a> [organizations\_full\_access](#input\_organizations\_full\_access)| Organization IDs to provide with full access to the ECR. |`list(string)`|`[]`| no |
64
+
| <aname="input_organizations_push_access"></a> [organizations\_push\_access](#input\_organizations\_push\_access)| Organization IDs to provide with push access to the ECR |`list(string)`|`[]`| no |
65
+
| <aname="input_organizations_readonly_access"></a> [organizations\_readonly\_access](#input\_organizations\_readonly\_access)| Organization IDs to provide with readonly access to the ECR. |`list(string)`|`[]`| no |
60
66
| <aname="input_principals_full_access"></a> [principals\_full\_access](#input\_principals\_full\_access)| Principal ARNs to provide with full access to the ECR |`list(string)`|`[]`| no |
61
67
| <aname="input_principals_lambda"></a> [principals\_lambda](#input\_principals\_lambda)| Principal account IDs of Lambdas allowed to consume ECR |`list(string)`|`[]`| no |
62
68
| <aname="input_principals_push_access"></a> [principals\_push\_access](#input\_principals\_push\_access)| Principal ARNs to provide with push access to the ECR |`list(string)`|`[]`| no |
0 commit comments