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

terraform: introduce DNS resource definitions #44

Closed
wants to merge 1 commit into from
Closed

terraform: introduce DNS resource definitions #44

wants to merge 1 commit into from

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented Jul 10, 2018

Start mapping all the resources in AWS that can't be done with nixops

Start mapping all the resources in AWS that can't be done with nixops
@rbvermaa
Copy link
Member

@zimbatm Why not use nixops for these, as it supports route53 resources?

@zimbatm
Copy link
Member Author

zimbatm commented Jul 11, 2018

It's not able to declare the Route53 zone isn't it? I want to get to a place where we have all the cloud resources declared as code. CloudFront, the S3 buckets, the IAM roles, the security groups and auto-scaling groups, the VPC.

@AmineChikhaoui
Copy link
Member

@zimbatm isn't it this resource (Route53 zone) https://github.com/NixOS/nixops/blob/master/nix/route53-hosted-zone.nix ?
I guess the advantage of terraform is that it can take over the management of an already provisioned resource while you have to re-provision using nixops.
Btw, S3 buckets/IAM roles/VPC resources are already supported in nixops.

@zimbatm
Copy link
Member Author

zimbatm commented Jul 11, 2018

Yeah I might be mistaken, nixops is awesome and I use it but only for deploying since it has much less manpower available and doesn't support remote state yet. It's easy to hit a corner where some API is not properly mapped and then have a big effort gap. Some day we'll be able to import the terraform plugins into nixops but until then I find it easier to just use terraform.

Since we know that the existing AWS account is going away maybe another question is whenever we want to use it for Route53 or some other DNS provider. Having everything in terraform also helps in terms of data locality, it makes it easy to declare a CloudFront distribution and attach it to a record in one go for example.

@zimbatm
Copy link
Member Author

zimbatm commented Dec 16, 2018

superseded by #68

@zimbatm zimbatm closed this Dec 16, 2018
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 this pull request may close these issues.

None yet

3 participants