Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.06 KB

File metadata and controls

39 lines (24 loc) · 1.06 KB

🧩 Resource Documentation: portainer_open_amt_activate

Overview

The portainer_open_amt_activate resource allows you to trigger OpenAMT activation on a Portainer-managed environment (agent endpoint).


📘 Example Usage

resource "portainer_open_amt_activate" "example" {
  environment_id = 1
}

⚙️ Lifecycle & Behavior

This resource activates OpenAMT for the specified environment. It is a one-time action that is triggered on terraform apply.

  • The endpoint must be agent-based and OpenAMT must be properly configured in Portainer.

🧾 Arguments Reference

Name Type Required Description
environment_id number ✅ yes ID of the endpoint where OpenAMT is activated

📤 Attributes Reference

Name Description
id Always set to "openamt-{environment_id}"