Skip to content

Commit

Permalink
packer-base 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
117thDragon committed Nov 10, 2023
1 parent 7fbf3b4 commit 3a286f4
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 202 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
packer/variables.json
*.tfstate
*.tfstate.*.backup
*.tfstate.backup
*.tfvars
.terraform/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ startup_script.sh - shell-скрипт создания инстанса
metadata.yaml - файл с метаданными для настройки инстанса
```


# HW №5
1. Установка packer:
```
Expand Down
2 changes: 1 addition & 1 deletion config-scripts/create-reddit-vm.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

folder_id=$(yc config list | grep folder-id | awk '{print $2}') # грепаем id-каталога
folder_id=$(yc config list | grep folder-id | awk '{print $2}')

yc compute instance create \
--name reddit-app \
Expand Down
8 changes: 0 additions & 8 deletions packer/key-orig.json

This file was deleted.

2 changes: 1 addition & 1 deletion packer/ubuntu16.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"builders": [
{
"type": "yandex",
"service_account_key_file": "key.json",
"service_account_key_file": "/home/admins/otus/secrets/key.json",
"folder_id": "b1g9rbhfq6ba8dfpgv37",
"subnet_id": "e9bmh97l31novt99ndqb",
"zone": "ru-central1-a",
Expand Down
9 changes: 0 additions & 9 deletions terraform/.terraform.lock.hcl

This file was deleted.

9 changes: 0 additions & 9 deletions terraform/.terraformrc

This file was deleted.

14 changes: 0 additions & 14 deletions terraform/files/deploy.sh

This file was deleted.

13 changes: 0 additions & 13 deletions terraform/files/puma.service

This file was deleted.

35 changes: 0 additions & 35 deletions terraform/lb.tf

This file was deleted.

51 changes: 0 additions & 51 deletions terraform/main.tf

This file was deleted.

7 changes: 0 additions & 7 deletions terraform/outputs.tf

This file was deleted.

8 changes: 0 additions & 8 deletions terraform/terraform.tf

This file was deleted.

8 changes: 0 additions & 8 deletions terraform/terraform.tfvars.examples

This file was deleted.

38 changes: 0 additions & 38 deletions terraform/variables.tf

This file was deleted.

0 comments on commit 3a286f4

Please sign in to comment.