-
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -74,6 +74,13 @@ resource "yandex_vpc_security_group" "dataproc-security-group" { | |||||
v4_cidr_blocks = ["0.0.0.0/0"] | ||||||
} | ||||||
|
||||||
egress { | ||||||
description = "Allow access to NTP servers for time syncing" | ||||||
protocol = "UDP" | ||||||
port = 123 | ||||||
v4_cidr_blocks = ["0.0.0.0/0"] | ||||||
} | ||||||
|
||||||
egress { | ||||||
description = "Allow connections to the ClickHouse port from any IP address" | ||||||
protocol = "TCP" | ||||||
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
] | ||||||
|
||||||
grant { | ||||||
id = yandex_iam_service_account.dataproc-sa.id | ||||||
type = "CanonicalUser" | ||||||
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
] | ||||||
|
||||||
grant { | ||||||
id = yandex_iam_service_account.dataproc-sa.id | ||||||
type = "CanonicalUser" | ||||||
|
@@ -188,7 +203,7 @@ resource "yandex_dataproc_cluster" "dataproc-cluster" { | |||||
|
||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Давай добавим в кластер зависимости от ресурсов с ролями |
||||||
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 commentThe reason will be displayed to describe this comment to others. Learn more. Здесь было правильно. Давай вернём, как было. |
||||||
} | ||||||
|
||||||
subcluster_spec { | ||||||
|
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
.Аналогичная правка нужна во всех референсах на этот ресурс.