Skip to content
This repository was archived by the owner on Dec 9, 2020. It is now read-only.

Support importing of sites #32

Open
felipesere opened this issue Aug 7, 2019 · 5 comments · May be fixed by #36
Open

Support importing of sites #32

felipesere opened this issue Aug 7, 2019 · 5 comments · May be fixed by #36

Comments

@felipesere
Copy link

Importing of sites

I'm currently in the process of consolidating all of my online infrastructure into Terraform
and would thus need to import my existing site into state.

Would this require special knowledge or is it I can contribute with some basic Go abilities?

@Mongey
Copy link

Mongey commented Aug 13, 2019

You should be able to just run

terraform import netlify_site.my_website <api_id>

You can find api_id in

https://app.netlify.com/sites/my-website/settings/general

However there is a bug in the netlify go client and it can't import.
netlify/open-api#170 needs to be merged and the package updated in this repo to fix imports.

@andyshinn
Copy link

It looks like netlify/open-api#200 and netlify/open-api#164 have been merged. Possible to spin a 0.4.0 with these changes soon?

@MH4GF
Copy link

MH4GF commented Nov 4, 2019

I hope for the 0.4.0 release. I just hit netlify/open-api#162 same issue. Thanks!

@maartenvanvliet
Copy link

There has been a release for the go client :) netlify/open-api#170 (comment)

@martijnarts
Copy link

Pinging @kmoe since that's the last person to have contributed to the repo. Would you be able to make a release with the new Netlify version?

@Mongey Mongey linked a pull request Dec 21, 2019 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants