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

Implement Origin CA certificate resource #547

Merged

Conversation

player-two
Copy link

Fixes #433
Depends on cloudflare/cloudflare-go#387

Before the sdk pr is merged, this can only be tested via

go mod edit -replace github.com/cloudflare/cloudflare-go=/path/to/cloudflare-go
make build
make testacc TESTARGS='-run TestAccCloudflareOriginCACertificate_Basic'

I'm not terribly confident about the api_user_service_key - is there ever a case where it would be set to something other than the Origin CA key? If so, I think we'd need a way to save both and have this resource's methods create a new client.

@ghost ghost added size/XL kind/documentation Categorizes issue or PR as related to documentation. labels Dec 2, 2019
@patryk
Copy link

patryk commented Dec 5, 2019

I've bumped the cloudflare-go release, can you rebase this PR?

@player-two
Copy link
Author

Yep will do! I'll have to wait on cloudflare/cloudflare-go#392 first

@player-two player-two force-pushed the origin-ca-certificate-resource branch 2 times, most recently from 905d653 to 990beb6 Compare December 9, 2019 18:42
@ghost ghost added the dependencies label Dec 9, 2019
@player-two
Copy link
Author

That last commit will have to change, either with a legit version number once the library is bumped or removed entirely if dependencies should be handled in a separate PR. I just added it for now to see if CI would pass.

@jacobbednarz
Copy link
Member

@player-two you should be able to remove the last commit and just wait on the version bump. We'll merge it once it's landed in cloudflare-go.

@player-two player-two force-pushed the origin-ca-certificate-resource branch from 990beb6 to 36eb69a Compare December 10, 2019 01:44
@player-two player-two force-pushed the origin-ca-certificate-resource branch from 36eb69a to 3bef2b1 Compare December 17, 2019 23:05
@player-two player-two marked this pull request as ready for review December 18, 2019 02:33
@jacobbednarz jacobbednarz merged commit 19da231 into cloudflare:master Dec 18, 2019
@player-two player-two deleted the origin-ca-certificate-resource branch December 18, 2019 21:31
boekkooi-lengoo pushed a commit to boekkooi-lengoo/terraform-provider-cloudflare that referenced this pull request Feb 28, 2022
…re#547)

This will ensure that `PerformTraceroute` works without an explicit
colocation list passed to it as documented in the API docs.

Fixes cloudflare#546
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies kind/documentation Categorizes issue or PR as related to documentation. size/XL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Origin CA Certificate resource
3 participants