-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corrections to Terraform manifest #4
base: main
Are you sure you want to change the base?
Conversation
@@ -154,6 +161,10 @@ resource "yandex_storage_bucket" "input-bucket" { | |||
secret_key = yandex_iam_service_account_static_access_key.sa-static-key.secret_key | |||
bucket = local.input-bucket | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не могу комментить нужную строку, поэтому здесь.
Давай в строке 147 исправим название ресурса с s3-editor
на s3-admin
.
Аналогичная правка нужна во всех референсах на этот ресурс.
@@ -154,6 +161,10 @@ resource "yandex_storage_bucket" "input-bucket" { | |||
secret_key = yandex_iam_service_account_static_access_key.sa-static-key.secret_key | |||
bucket = local.input-bucket | |||
|
|||
depends_on = [ | |||
yandex_resourcemanager_folder_iam_binding.s3-editor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yandex_resourcemanager_folder_iam_binding.s3-editor | |
yandex_resourcemanager_folder_iam_binding.s3-admin |
@@ -167,6 +178,10 @@ resource "yandex_storage_bucket" "output-bucket" { | |||
secret_key = yandex_iam_service_account_static_access_key.sa-static-key.secret_key | |||
bucket = local.output-bucket | |||
|
|||
depends_on = [ | |||
yandex_resourcemanager_folder_iam_binding.s3-editor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yandex_resourcemanager_folder_iam_binding.s3-editor | |
yandex_resourcemanager_folder_iam_binding.s3-admin |
@@ -188,7 +203,7 @@ resource "yandex_dataproc_cluster" "dataproc-cluster" { | |||
|
|||
hadoop { | |||
services = ["HDFS", "SPARK", "YARN"] | |||
ssh_public_keys = [file(local.dp_ssh_key)] | |||
ssh_public_keys = ["${file(local.dp_ssh_key)}"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Здесь было правильно. Давай вернём, как было.
@@ -188,7 +203,7 @@ resource "yandex_dataproc_cluster" "dataproc-cluster" { | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Давай добавим в кластер зависимости от ресурсов с ролями dataproc.agent
и dataproc.provisioner
, как в других манифестах.
No description provided.