Skip to content

Commit

Permalink
Merge pull request #11 from vladborovtsov/main
Browse files Browse the repository at this point in the history
Small doc updates; Change EC2 instance lifecycle to allow some changes
  • Loading branch information
AutomationD authored Jan 29, 2024
2 parents ccb8da1 + 8215094 commit 2784aaf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,16 @@ Security scanning is graciously provided by Bridgecrew.

## Requirements

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

## Providers

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

## Modules

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

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource "aws_instance" "this" {
associate_public_ip_address = var.public_ip_enabled

lifecycle {
ignore_changes = all
ignore_changes = [user_data, key_name]
}

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

0 comments on commit 2784aaf

Please sign in to comment.