Skip to content

Commit 2784aaf

Browse files
authored
Merge pull request #11 from vladborovtsov/main
Small doc updates; Change EC2 instance lifecycle to allow some changes
2 parents ccb8da1 + 8215094 commit 2784aaf

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,16 @@ Security scanning is graciously provided by Bridgecrew.
2828

2929
## Requirements
3030

31-
| Name | Version |
32-
|------|---------|
33-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
34-
| <a name="requirement_local"></a> [local](#requirement\_local) | ~> 1.2 |
31+
| Name | Version |
32+
|------|----------|
33+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | \>= 0.13 |
34+
| <a name="requirement_local"></a> [local](#requirement\_local) | ~> 1.2 |
3535

3636
## Providers
3737

3838
| Name | Version |
3939
|------|---------|
4040
| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a |
41-
| <a name="provider_template"></a> [template](#provider\_template) | n/a |
4241

4342
## Modules
4443

@@ -57,7 +56,6 @@ No modules.
5756
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
5857
| [aws_iam_policy_document.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
5958
| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |
60-
| [template_file.ec2_user_data](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file) | data source |
6159

6260
## Inputs
6361

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ resource "aws_instance" "this" {
4545
associate_public_ip_address = var.public_ip_enabled
4646

4747
lifecycle {
48-
ignore_changes = all
48+
ignore_changes = [user_data, key_name]
4949
}
5050

5151
user_data = var.vpn_enabled ? templatefile("${path.module}/ec2_user_data.sh.tftpl",

0 commit comments

Comments
 (0)