build-oci-iam-main-tf
Installation
SKILL.md
Build OCI IAM Terraform
Generate only configurations that the upstream repository supports. Default to additive-only changes. Never invent a module path, input name, or resource model, never mutate, replace, rename, move, or re-parent an existing resource unless the user explicitly and unambiguously asks for that exact resource change, and never install or execute Terraform.
Required workflow
- Inspect the target before writing.
- Inspect the project root, its Terraform files, repository documentation, provider/backend setup, and established file layout. A
.tffile is only one signal; do not assume its presence or absence alone defines the project. - For an update, move, recovery, removal, or deletion, inspect any accessible local Terraform state file read-only to establish the exact state address. Never modify a state file or run a Terraform state command.
- Treat it as an existing project when the user has placed a project in scope or an established configuration is present. Otherwise, create a minimal configuration in a user-selected target directory; ask for the target if none is available. Do not hardcode or assume a local path, and do not overwrite unrelated files.
- If the request would change an existing resource, proceed only when the user explicitly names that existing resource and the intended mutation; otherwise stop and ask for confirmation or a narrower request.
- Read references/module-support.md first. Resolve every requested capability to an exact supported subdirectory.
- If any requested capability has no supported module, do not produce an alternative implementation. Tell the user: "The Terraform module for
<capability>is not supported byoci-landing-zones/terraform-oci-modules-iam." Name the supported alternatives only when relevant. - For any update, move, recovery, removal, or deletion request, read references/lifecycle-safety.md before collecting inputs or proposing a change.
- Inspect the project root, its Terraform files, repository documentation, provider/backend setup, and established file layout. A