Skip to content

Document the multiple Terraform provider setups#44954

Merged
hugoShaka merged 17 commits intomasterfrom
hugo/terraform-provider-docs
Sep 5, 2024
Merged

Document the multiple Terraform provider setups#44954
hugoShaka merged 17 commits intomasterfrom
hugo/terraform-provider-docs

Conversation

@hugoShaka
Copy link
Copy Markdown
Contributor

This PR adds documentation for new Terraform provider connection methods added as part of RFD 153:

  • local temporary bot (tctl terraform env)
  • native machineID joining (join_token + join_method)

This also describes the two existing setups:

  • with tbot (current docs)
  • with static creds (from v14 docs)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Aug 1, 2024

🤖 Vercel preview here: https://docs-ci56pz81w-goteleport.vercel.app/docs/ver/preview

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Aug 2, 2024

🤖 Vercel preview here: https://docs-4g0lmyxio-goteleport.vercel.app/docs/ver/preview

@hugoShaka hugoShaka marked this pull request as ready for review August 2, 2024 17:44
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Aug 2, 2024

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Aug 2, 2024

🤖 Vercel preview here: https://docs-499xmeb9h-goteleport.vercel.app/docs/ver/preview

@hugoShaka hugoShaka added the no-changelog Indicates that a PR does not require a changelog entry label Aug 2, 2024
Comment thread docs/config.json Outdated
Comment thread docs/pages/management/dynamic-resources/terraform-import-existing-resources.mdx Outdated
the resource.

If the resource can only have one instance, use the name of the resource type
without the `teleport` prefix. For example:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If these are the only two resources that can only have one instance, we should clarify this. "For example" here suggests that there could be others.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are more than 2 resources that are singletons, all the configuration ones (4 or 5 on the top of my head, but we keep adding more). Also, I did not write this page, this file is only extracted from the existing documentation.

Comment thread docs/pages/management/dynamic-resources/terraform-provider.mdx Outdated
Comment thread docs/pages/management/dynamic-resources/terraform-provider.mdx Outdated
Comment thread docs/pages/management/dynamic-resources/terraform-provider/ci-or-cloud.mdx Outdated
Comment thread docs/pages/management/dynamic-resources/terraform-provider/local.mdx Outdated
@hugoShaka hugoShaka force-pushed the hugo/terraform-provider-docs branch from cc679b0 to d66386c Compare August 6, 2024 22:12
@hugoShaka hugoShaka force-pushed the hugo/terraform-provider-docs branch from a8f3c51 to 06486bc Compare August 7, 2024 20:19
@hugoShaka hugoShaka requested a review from ptgott August 7, 2024 20:20
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Sep 5, 2024

🤖 Vercel preview here: https://docs-fn66r7hmk-goteleport.vercel.app/docs/ver/preview

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Sep 5, 2024

🤖 Vercel preview here: https://docs-8lcolsm3r-goteleport.vercel.app/docs/ver/preview

@hugoShaka hugoShaka enabled auto-merge September 5, 2024 15:34
@hugoShaka hugoShaka added this pull request to the merge queue Sep 5, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 5, 2024
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Sep 5, 2024

🤖 Vercel preview here: https://docs-d652i401t-goteleport.vercel.app/docs/ver/preview

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Sep 5, 2024

🤖 Vercel preview here: https://docs-j8tso7ldo-goteleport.vercel.app/docs/ver/preview

@hugoShaka hugoShaka enabled auto-merge September 5, 2024 16:07
@hugoShaka hugoShaka added this pull request to the merge queue Sep 5, 2024
Merged via the queue into master with commit 9323ec2 Sep 5, 2024
@hugoShaka hugoShaka deleted the hugo/terraform-provider-docs branch September 5, 2024 16:46
@public-teleport-github-review-bot
Copy link
Copy Markdown

@hugoShaka See the table below for backport results.

Branch Result
branch/v16 Failed

hugoShaka added a commit that referenced this pull request Sep 5, 2024
* Document how to use the TF provider

* fix config.json

* fixup! fix config.json

* Address first feedback wave

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* fix lint docs

* re-render TF docs

* workaround the broken vars in hcl code blocks

* Edits after testing the GCP docs

* Edits after testing the AWS docs

* Edits after testing the GHA docs

* Edits after testing the GitLab docs

* Edits after testing the CircleCI docs

* lint

* lint pt .2

* fix link after rebase + move resource import

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
github-merge-queue Bot pushed a commit that referenced this pull request Sep 5, 2024
* Document how to use the TF provider

* fix config.json

* fixup! fix config.json

* Address first feedback wave

* Apply suggestions from code review



* fix lint docs

* re-render TF docs

* workaround the broken vars in hcl code blocks

* Edits after testing the GCP docs

* Edits after testing the AWS docs

* Edits after testing the GHA docs

* Edits after testing the GitLab docs

* Edits after testing the CircleCI docs

* lint

* lint pt .2

* fix link after rebase + move resource import

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation no-changelog Indicates that a PR does not require a changelog entry size/lg

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants