---
type: resource-type
title: Machine
description: fly resource type Fly::Machines::Machine
name: Machine
lexicon: fly
resource_type: Fly::Machines::Machine
---
`Fly::Machines::Machine`, a resource type of the fly lexicon.

## Properties

- `config` (`MachineConfig`, optional): An object defining the Machine configuration
- `lease_ttl` (`number`, optional)
- `min_secrets_version` (`number`, optional)
- `name` (`string`, optional): Unique name for this Machine. If omitted, one is generated for you
- `region` (`string`, optional): The target region. Omitting this param launches in the same region as your WireGuard peer connection (somewhere near you).
- `skip_launch` (`boolean`, optional)
- `skip_secrets` (`boolean`, optional)
- `skip_service_registration` (`boolean`, optional)

## Governed by

- [FLY010](/rules/FLY010.md): Machine config must specify an image — a Machine cannot boot without one
- [FLY011](/rules/FLY011.md): A machine mount's volume must resolve to a Volume declared in the stack
