2024-01-18 15:54:20 +01:00
2024-01-18 15:54:20 +01:00
2024-01-18 15:06:20 +01:00
2024-01-18 15:06:20 +01:00
2024-01-18 15:06:20 +01:00
2024-01-18 15:54:20 +01:00
2024-01-18 15:54:20 +01:00
2024-01-18 15:54:20 +01:00
2024-01-18 15:54:20 +01:00

Module docker-instance

This Terraform module start an AWS instance in default VPC. Instance is build from latest Amazon Linux 2023 minimal AMI, with EC2 Instance Connect and Docker installed at first boot.

How to connect with SSH

aws ec2-instance-connect send-ssh-public-key \
    --instance-id ${INSTANCE_ID} \
    --availability-zone ${AVAILABILITY_ZONE} \
    --instance-os-user ec2-user \
    --ssh-public-key file://${PATH_TO_PUBLIC_KEY}

ssh -o "IdentitiesOnly=yes" -i ${PATH_TO_PUBLIC_KEY} ec2-user@${INSTANCE_PUBLIC_IP}
  • workflows / actions (.tf format and validate)
  • git hooks

Requirements

No requirements.

Providers

No providers.

Modules

No modules.

Resources

No resources.

Inputs

No inputs.

Outputs

No outputs.

S
Description
Terraform module for Docker ready instance.
Readme
40 KiB
0 Stars 1 Watchers 0 Forks
v0.1.0
Latest
2024-01-18 14:59:53 +00:00
Languages
HCL 87.1%
Shell 12.9%