This example introduces aws_ami_from_instance
resource.
snapshot_without_reboot
Current resource cant be created properly. Add custom code to switch instance to stopped
state.
This resource supports tags
attribute:
resource "aws_ami" "test_ami_from_snapshot" { ... tags = { Name = "value" } ... }
.. literalinclude:: main.tf