Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

[WIP] Implement local planner #41

Closed
wants to merge 18 commits into from
Closed

[WIP] Implement local planner #41

wants to merge 18 commits into from

Conversation

alexsomesan
Copy link
Member

@alexsomesan alexsomesan commented May 26, 2020

Description

Introduces a new method of generating the plan by extracting the type information for the resource being planned from the OpenAPI definition available on the API server.

This approach should generate a more complete resource structure, which enable more robust resource lifecycle as all attributes ar being accounted for throughout all operations.

It does not make dry run-calls to the API server during planning, which removes the limitation of not being able to plan resources that depend on one another.

Milestones:

[x] Synthesize Terraform native types from OpenAPI spec
[x] Type-morph the user-supplied resource attributes onto the OpenAPI scaffolding
[x] JSON to Terraform types serialization / deserialization following OpenAPI scaffolding
[ ] Resolve issues in type converter regarding IntOrString types and CRD OpenAPI embedded spec

Acceptance tests

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch? (If so, please include the test log in a gist)

@FooBarWidget
Copy link

I need this feature. Is there anything I can do to speed this up?

@WilliamABradley
Copy link

@alexsomesan is this waiting for an upstream Terraform feature to progress?
Is there a PR in Terraform to track for this?

@aareet
Copy link
Member

aareet commented Nov 18, 2020

@WilliamABradley we are working on a significant upgrade of the provider to use the new provider development modules. This PR is blocked on that change. We're working to get it out the door asap.

@alexsomesan
Copy link
Member Author

superseded by #151

@alexsomesan alexsomesan closed this Mar 4, 2021
@ghost
Copy link

ghost commented Apr 4, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Apr 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
4 participants