Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to new cloudfoundry provider #56

Closed
4 tasks done
rahearn opened this issue Oct 21, 2024 · 5 comments · Fixed by #57
Closed
4 tasks done

Update to new cloudfoundry provider #56

rahearn opened this issue Oct 21, 2024 · 5 comments · Fixed by #57
Assignees

Comments

@rahearn
Copy link
Contributor

rahearn commented Oct 21, 2024

Story

As a devops engineer,
I would like to use a better supported terraform provider for cloudfoundry,
So that I can be confident that everything works properly and will continue to work as api v2 goes away

Solution

Tasks

Preview Give feedback

Acceptance Criteria

  • READMEs have been updated for appropriate version numbers
  • space ssh and ASG things work properly
@rahearn
Copy link
Contributor Author

rahearn commented Oct 21, 2024

@rahearn
Copy link
Contributor Author

rahearn commented Oct 21, 2024

"breaking change" should be defined around both the parameters required for use of the modules as well as whether a resource created before the change can be cleanly managed by the provider after the change.

@mogul
Copy link
Contributor

mogul commented Oct 22, 2024

"breaking change" should be defined around both the parameters required for use of the modules as well as whether a resource created before the change can be cleanly managed by the provider after the change.

There's a lot of changes, and existing resources will have to be "orphaned" by removing them from the state, then re-importing them before the apply where the resource is updated to reference the new provider. The migration guide shows doing this with explicit terraform import CLI calls but I am pretty sure it could also be done with import blocks (which is probably better since the import and the reference to the new provider happen during the same apply).

@rahearn rahearn self-assigned this Nov 20, 2024
@rahearn
Copy link
Contributor Author

rahearn commented Nov 20, 2024

currently no ability to set a space security group to an existing security group cloudfoundry/terraform-provider-cloudfoundry#81

@rahearn
Copy link
Contributor Author

rahearn commented Dec 2, 2024

Docs on passing providers explicitly to a module: https://developer.hashicorp.com/terraform/language/modules/develop/providers#passing-providers-explicitly

will be needed since v1 and v2 both use the cloudfoundry provider name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants