Skip to content

Commit

Permalink
dz 9 add files1
Browse files Browse the repository at this point in the history
  • Loading branch information
aeivanov committed Mar 10, 2024
1 parent c54867e commit 307cf8b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 deletions terraform/storage-bucket.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ resource "yandex_iam_service_account_static_access_key" "sa-static-key" {
}

resource "yandex_storage_bucket" "test-aeivanov" {
access_key = yandex_iam_service_account_static_access_key.sa-static-key.access_key
secret_key = yandex_iam_service_account_static_access_key.sa-static-key.secret_key
access_key = var.access_key
secret_key = var.secret_key
bucket = var.bucket_name
force_destroy = "true"
}
19 changes: 13 additions & 6 deletions terraform/terraform.tfvars.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
cloud_id = "b1gmc6mhdddnpnljfrds"
folder_id = "b1getl3tudddfgfffogh"
cloud_id = "********************"
folder_id = "********************"
zone = "ru-central1-a"
image_id = "fd8va10dftttt8sttttt"
public_key_path = "ubuntu.pub"
private_key_path = "ubuntu"
image_id = "********************"
public_key_path = "~/.ssh/id_rsa.pub"
private_key_path = "~/.ssh/id_rsa"
subnet_id = "********************"
service_account_key_file = "files/key.json"
subnet_id = "e9bf8hprrrulk8tttttt"
service_account_id = "********************"
app_disk_image = "********************"
db_disk_image = "********************"
bucket_name = "test-aeivanov"
access_key = "***************************"
secret_key = "***************************"
env = "stage"

0 comments on commit 307cf8b

Please sign in to comment.