fix homework 2.1

This commit is contained in:
2022-05-06 10:50:35 +07:00
parent 30e6c7d15c
commit 0c2b7164e5
3 changed files with 17 additions and 14 deletions

View File

@@ -1,2 +1,19 @@
Выполнение [домашнего задания](https://github.com/netology-code/sysadm-homeworks/blob/devsys10/02-git-01-vcs/README.md)
по теме "Системы контроля версий".
## Q/A
### Задача 1 - gitignore
Создана директория [src/terraform](./terraform), добавлен файл: [terraform/.gitignore](./terraform/.gitignore).
Файлы, которые будут проигнорированы git:
* Любые файлы, которые находятся в директории `.terraform` (в любом месте глубже по файловой системе)
* Файлы с расширением `.tfstate`, либо содержащие в названии `.tfstate.`
* Файлы с названием `crash.log`
* Файлы, которые начинаются с `crash.` и имеют расширение `.log`
* Файлы с расширением `.tfvars`
* Файлы с названием `override.tf` или `override.tf.json`
* Файлы, название которых заканчивается на `_override.tf` или `_override.tf.json`
* Файлы с названием `.terraformrc` или `terraform.rc`

View File

@@ -1,14 +0,0 @@
## gitignore
Создана директория [src/terraform](/src/terraform), добавлен файл: [terraform/.gitignore](/src/terraform/.gitignore).
Файлы, которые будут проигнорированы git:
* Любые файлы, которые находятся в директории `.terraform` (в любом месте глубже по файловой системе)
* Файлы с расширением `.tfstate`, либо содержащие в названии `.tfstate.`
* Файлы с названием `crash.log`
* Файлы, которые начинаются с `crash.` и имеют расширение `.log`
* Файлы с расширением `.tfvars`
* Файлы с названием `override.tf` или `override.tf.json`
* Файлы, название которых заканчивается на `_override.tf` или `_override.tf.json`
* Файлы с названием `.terraformrc` или `terraform.rc`

View File

@@ -0,0 +1,35 @@
# Local .terraform directories
**/.terraform/*
# .tfstate files
*.tfstate
*.tfstate.*
# Crash log files
crash.log
crash.*.log
# Exclude all .tfvars files, which are likely to contain sentitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
#
*.tfvars
# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json
# Include override files you do wish to add to version control using negated pattern
#
# !example_override.tf
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*
# Ignore CLI configuration files
.terraformrc
terraform.rc