Skip to content

Coder Terraform Provider v1.0 Docs  #217

@stirby

Description

@stirby

Customers have requested that we promote our terraform provider to v1.0. The product is quite stable and, of course, is used in every one of our customers' deployments.

To show that this is no longer breaking, we should promote the release versioning to v1.X.X; before we do so, the docs should meet v1.0 standards. As I mentioned, we don't get many stability requests, but there are often requests for elaboration on the provider's behavior. There are a few resources/data sources that are missing code examples, or may be enriched via context.

Docs checklist for v1.0

    • Resource docs
        • Code examples
        • Code examples
        • Explanation on parallel execution
        • Startup script implications
        • Link to discussion on execution ordering (frequently requested)
          • not necessary
    • Data source docs
        • Code examples
        • Link to coder.com external auth docs
        • Code examples (show validation types, monotonicity, etc)
          • Should just grep the closed customer requests on coder_parameter (like this)
        • Optional: Fix inline link under icon
        • Optional: Link to discussion on coder_parameter extension
        • Code example
        • Optional: Fix inline links
        • Optional: Expand code examples
          • Not enough attributes to warrant further examples
        • Code examples
    • Get template details in terraform coder#13122 - indicate required version of coder for resource functionality

Activity

stirby

stirby commented on May 2, 2024

@stirby
ContributorAuthor

A candidate to further improve the docs here:
coder/coder#13122

matifali

matifali commented on May 2, 2024

@matifali
Member

Yes we should mention the minimum required coder version on the main page of provider docs for each release.

For example when we publish version 1.0.3 of the provider, we should mention as a warning block on main page that

Important

This provider version requires Coder version 2.11.0 or above.

Or we can move the warning to only the resources that are affected.

Like for coder_env page we can include.

Important

This provider version requires Coder version 2.7.0 or above.

matifali

matifali commented on May 6, 2024

@matifali
Member

Before realizing 1.0, we should do migration #180. Otherwise, it will stay a debt.

bpmct

bpmct commented on May 6, 2024

@bpmct
Member

coder/envbuilder#174 (comment) a good idea to add a new coder_user data source and deprecate the owner_ stuff

matifali

matifali commented on May 6, 2024

@matifali
Member

coder/envbuilder#174 (comment) a good idea to add a new coder_user data source and deprecate the owner_ stuff

@bpmct filed #219 and #220

stirby

stirby commented on May 8, 2024

@stirby
ContributorAuthor

Before realizing 1.0, we should do migration #180. Otherwise, it will stay a debt.

@matifali I understand the motivation here, but do not want to block v1.0 for the migration. I would even call this a candidate for v2.0. I'd rather rush these documentation changes + any minor changes and promote the versioning for the comfort of our customers.

If this unblocks feature development today, we can discuss.

For posterity

We recommend using the framework to develop new provider functionality because it offers significant advantages as compared to the SDKv2. We also recommend migrating existing providers to the framework when possible.

matifali

matifali commented on May 9, 2024

@matifali
Member

@stirby Sure, let's do that in v2.0, then.

reopened this on Jun 27, 2024
stirby

stirby commented on Jul 1, 2024

@stirby
ContributorAuthor

I am re-opening since we need to cut the v1.0

reopened this on Jul 1, 2024
matifali

matifali commented on Jul 1, 2024

@matifali
Member

@stirby I think we should resolve #203 too before we cut the 1.0 release.

It doesn't matter if we are removing all deprecated items. But that needs to be done too #250.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @matifali@mtojek@bpmct@stirby

      Issue actions

        Coder Terraform Provider v1.0 Docs · Issue #217 · coder/terraform-provider-coder