-
-
Save exarkun/f8610decc0f65611747f40b136f5bc16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_version = "~> 0.13" | |
required_providers { | |
aws = { | |
source = "hashicorp/aws" | |
version = "~> 2.65" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform init | |
Initializing the backend... | |
Initializing provider plugins... | |
- Finding latest version of hashicorp/aws... | |
Error: Failed to query available provider packages | |
Could not retrieve the list of available versions for provider hashicorp/aws: | |
provider registry.terraform.io/hashicorp/aws was not found in any of the | |
search locations | |
- /nix/store/fam6azhh0wlpaxa27rbxkjyqzrla50xn-tf-plugin-env/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> { } }: | |
pkgs.stdenv.mkDerivation { | |
name = "tf"; | |
buildInputs = with pkgs; [ | |
awscli | |
(terraform_0_13.withPlugins (ps: [ | |
# This lets us manage our VMs, DNS, etc on AWS. | |
ps.aws | |
])) | |
]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ find /nix/store/fam6azhh0wlpaxa27rbxkjyqzrla50xn-tf-plugin-env/bin/ | |
/nix/store/fam6azhh0wlpaxa27rbxkjyqzrla50xn-tf-plugin-env/bin/ | |
/nix/store/fam6azhh0wlpaxa27rbxkjyqzrla50xn-tf-plugin-env/bin/terraform-provider-aws_v2.65.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment