fix ecr authentication config
This commit is contained in:
1 parent
92835a5b54
commit
c754ff2d60
3 files changed
+22
-6
No files matched your search
@@ -7,3 +7,5 @@ resource "aws_ecr_repository" "myapp-repo" {
|
||||
scan_on_push = true
|
||||
}
|
||||
}
|
||||
|
||||
data "aws_ecr_authorization_token" "token" {}
|
||||
@@ -9,3 +9,12 @@ output cluster_url {
|
||||
output kubeconfig {
|
||||
value = "module.eks.kubeconfig"
|
||||
}
|
||||
|
||||
output ecr_user_name {
|
||||
value = data.aws_ecr_authorization_token.token.user_name
|
||||
}
|
||||
|
||||
output ecr_user_password {
|
||||
value = data.aws_ecr_authorization_token.token.password
|
||||
sensitive = true
|
||||
}
|
||||
Reference in new issue
Block a user