-
Notifications
You must be signed in to change notification settings - Fork 31
Implement vercel_edge_config_item #196
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 vercel_edge_config_item #196
Conversation
…ace to avoid writing an update API.
type edgeConfigItemResource struct { | ||
client *client.Client | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs wiring up in the provider.go
file. We could also do with tests, and given there's a fairly sane Read
method I think we could add a data source too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've wired this up and added an equivalent data source.
Hi @LukeSheard, is there a reason you closed this? Apologies for not getting back to you sooner on this too - I've been off on Paternity leave for a while. I can take over this PR though, and add support for this. |
@dglsparsons I think it was by accident to be honest! |
@dglsparsons What is missing at this point to get this merged? 😄 |
Just tests. |
FYI @LukeSheard i'll raise a PR in the morning with tests added. Code is complete and it seems to work like a charm with a couple of minor fixes. 🙌 |
@dglsparsons Thanks so much, I haven't had a chance to test the provider locally directly to validate that it works properly. Very appreciative of your support 🙇 |
Closed in favour of #210 |
Add a resource for managing individual
edge_config_item
resources. Each resource represents an individual(key, value)
pair for an Edge Config.I've essentially used the
upsert
API from the documentation for managing items.