Conversation
Co-Authored-By: Claude Opus 4.6 <[email protected]>
templates/resources/account.md.tmpl
Outdated
| ## Import | ||
|
|
||
| Accounts can be imported using the account ID: | ||
|
|
||
| ```shell | ||
| terraform import datafy_account.example 79c406c5-7b64-43f2-ba76-9b01e74e3d90 | ||
| ``` |
There was a problem hiding this comment.
we dont support import
There was a problem hiding this comment.
Removed the Import section. Thanks for catching that!
There was a problem hiding this comment.
Removed the Import section. Thanks for flagging — import is not supported.
| ### Supported Data Variables | ||
|
|
||
| | Variable | Description | Example | | ||
| |----------|-------------|---------| | ||
| | `instance_id` | AWS EC2 instance ID | `i-0abcd1234efgh5678` | | ||
| | `cluster_name` | Kubernetes cluster name | `prod-cluster` | | ||
| | `node_group_name` | Kubernetes node group name | `worker-nodegroup` | | ||
| | `tags` | Resource tags (key:value format) | `env:production` | |
There was a problem hiding this comment.
instead of listing it here.. i think its better to add a link to our doc page. so we could update a single place.
There was a problem hiding this comment.
Good point. Replaced the detailed rule syntax section with a link to the Datafy documentation page so it can be maintained in one place.
templates/resources/role_arn.md.tmpl
Outdated
| Manages the AWS IAM role ARN associated with a Datafy account. | ||
| --- | ||
|
|
||
| # datafy_role_arn (Resource) |
There was a problem hiding this comment.
use template data fields .Name
There was a problem hiding this comment.
Done — switched to {{ .Name }} across all resource and data source templates.
templates/resources/token.md.tmpl
Outdated
| Manages a Datafy access token for programmatic API access to a specific account. | ||
| --- | ||
|
|
||
| # datafy_token (Resource) |
There was a problem hiding this comment.
Done — updated to use {{ .Name }} here and across all other templates for consistency.
…s for rule syntax, use template data fields Co-Authored-By: Claude Opus 4.6 <[email protected]>
Jira: https://datafyio.atlassian.net/browse/DT-8886
Changes
docs/index.md): Added comprehensive provider description, prerequisites (org account + API token), getting started guide, resource relationship diagram, and authentication instructionsdocs/resources/account.md): Added detailed description, relationship to other resources, example with IAM role and token, and import instructionsdocs/resources/role_arn.md): Added explanation of 1:1 relationship with accounts, IAM validation note, examples with account creation and Datafy IAM role moduledocs/resources/token.md): Added warnings about secret and attribute immutability, examples for tokens with/without expiration and AWS Secrets Manager integrationdocs/resources/autoscaling_rule.md): Added comprehensive rule syntax documentation covering JsonLogic subset, supported data variables, supported operators, constraints, and multiple examplestemplates/directory with tfplugindocs templates for all resources, data sources, and provider indexTest Plan
make generateto confirm templates produce expected output