Skip to content
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

homework-08 #4

Merged
merged 2 commits into from
Dec 26, 2017
Merged

homework-08 #4

merged 2 commits into from
Dec 26, 2017

Conversation

enkov
Copy link
Contributor

@enkov enkov commented Dec 23, 2017

Выолнено домашнее задание 8.
В ходе выполнения была найдена ошибка в последней версии terraform
При использовании переменной для указания версии провайдера terraform падает с ошибкой.
Подробней можно посмотреть тут:
hashicorp/terraform#15742
Данная ошибка уже исправленна, но еще нет релиза с этим исправлением

@enkov enkov requested a review from Nklya December 23, 2017 12:18
@Nklya
Copy link

Nklya commented Dec 23, 2017

Действительно, есть ошибка при указании версии.
Спасибо, сейчас сделаю пометку об этом в ДЗ.

@Nklya Nklya self-assigned this Dec 24, 2017
Copy link

@Nklya Nklya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Добрый день.

Петр, условия ДЗ выполнены, все выглядит ок. В том числе задачи со *.

Спасибо еще раз, что обратил внимание на проблему с заданием версии.

public_key_path = "~/.ssh/appuser.pub"
private_key_path = "~/.ssh/appuser"
disk_image = "reddit-base"
gcp_provider_version = "1.4.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это указывать не нужно, потому что версию параметризовать не получится.

description = "Disk image"
}

variable gcp_provider_version {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это указывать не нужно, потому что версию параметризовать не получится.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Да забыл убрать

sudo mv /tmp/puma.service /etc/systemd/system/puma.service
sudo systemctl daemon-reload
sudo systemctl start puma
sudo systemctl enable puma
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

У тебя в этом файле нет последней пустой линии. Советую настроить редактор на автом. добавление при сохранении.

## Homework 08

Задание со звездочкой 1
Для добавления ssh ключей в проект нужно воспользоваться ресурсом ```google_compute_project_metadata```
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно еще использовать google_compute_project_metadata_item, т.к. мы все равно добавляем только одну пару key:value

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

спасибо
и правда так удобнее было бы

@enkov enkov merged commit ed50002 into master Dec 26, 2017
@Nklya Nklya added the label Dec 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants