Skip to content

Instantly share code, notes, and snippets.

@jugatsu
Created February 8, 2019 15:49
Show Gist options
  • Save jugatsu/5f68f71eab6f55cb07fd7939281c8acd to your computer and use it in GitHub Desktop.
Save jugatsu/5f68f71eab6f55cb07fd7939281c8acd to your computer and use it in GitHub Desktop.
variable "c2_access_key" {}
variable "c2_secret_key" {}
provider "aws" {
access_key = "${var.c2_access_key}"
secret_key = "${var.c2_secret_key}"
region = "us-east-1"
endpoints {
ec2 = "https://api.cloud.croc.ru:443/"
s3 = "https://storage.cloud.croc.ru:443"
}
skip_credentials_validation = true
skip_requesting_account_id = true
}
resource "aws_vpc" "main" {
cidr_block = "10.0.0.0/16"
}
@Essensa
Copy link

Essensa commented Feb 8, 2019

Please, use:
region = "croc"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment