Skip to content

Commit

Permalink
Remove last trace of template provider (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
duboisph authored Jan 12, 2023
1 parent b69ebf2 commit e2ef430
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ${teleport_service}
### Example

```tf
data "template_cloudinit_config" "api_cloudinit" {
data "cloudinit_config" "api_cloudinit" {
gzip = true
base64_encode = true
Expand Down Expand Up @@ -119,7 +119,7 @@ These are the requirements to apply this module:
| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider_aws) | n/a |
| <a name="provider_template"></a> [template](#provider_template) | n/a |
| <a name="provider_cloudinit"></a> [cloudinit](#provider_cloudinit) | n/a |

### Modules

Expand Down Expand Up @@ -163,8 +163,7 @@ No modules.
| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |
| [aws_route53_zone.root](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/route53_zone) | data source |
| [aws_subnet.teleport](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnet) | data source |
| [template_cloudinit_config.teleport](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/cloudinit_config) | data source |
| [template_file.cloudinit_teleport](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file) | data source |
| [cloudinit_config.teleport](https://registry.terraform.io/providers/hashicorp/cloudinit/latest/docs/data-sources/config) | data source |

### Inputs

Expand Down
4 changes: 2 additions & 2 deletions teleport-server/instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "aws_instance" "teleport_instance" {
disable_api_termination = "false"
ebs_optimized = var.instance_ebs_optimized
associate_public_ip_address = "true"
user_data = data.template_cloudinit_config.teleport.rendered
user_data = data.cloudinit_config.teleport.rendered

root_block_device {
volume_type = var.root_vl_type
Expand All @@ -30,7 +30,7 @@ resource "aws_eip" "teleport_public" {
vpc = true
}

data "template_cloudinit_config" "teleport" {
data "cloudinit_config" "teleport" {
gzip = true
base64_encode = true

Expand Down

0 comments on commit e2ef430

Please sign in to comment.