Commit c49475f7 authored by walid.ACHACH's avatar walid.ACHACH Committed by GitHub

feat: add tags support to root block device (#218)

parent f24f6544
......@@ -85,13 +85,13 @@ data "aws_ami" "ubuntu-xenial" {
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.6 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.65 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.24 |
## Providers
| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 2.65 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.24 |
## Modules
......
......@@ -35,6 +35,7 @@ resource "aws_instance" "this" {
kms_key_id = lookup(root_block_device.value, "kms_key_id", null)
volume_size = lookup(root_block_device.value, "volume_size", null)
volume_type = lookup(root_block_device.value, "volume_type", null)
tags = lookup(root_block_device.value, "tags", null)
}
}
......
......@@ -2,6 +2,6 @@ terraform {
required_version = ">= 0.12.6"
required_providers {
aws = ">= 2.65"
aws = ">= 3.24"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment