You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Downloading plugin for provider "aws" (terraform-providers/aws) 2.20.0...
Downloading plugin for provider "http" (terraform-providers/http) 1.1.1...
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.
provider.aws: version = "~> 2.20"
provider.http: version = "~> 1.1"
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks# terraform plan -out=plan.tr
Error: Unsupported block type
on cluster.tf line 19, in resource "aws_security_group" "eks-cluster":
19: tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
Error: Unsupported block type
on main.tf line 55, in resource "aws_internet_gateway" "igw":
55: tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
Error: Error in function call
on main.tf line 64, in resource "aws_key_pair" "eks-prod-key":
64: public_key = "${file("./it-admin-key.pub")}"
Call to function "file" failed: no file exists at it-admin-key.pub.
root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks# terraform --version
Terraform v0.12.5
/terraform-eks# kubens hola-mundo-naranja
Context "arn:aws:eks:us-east-1:947293917990:cluster/regulado-develop-eks" modified.
Active namespace is "hola-mundo-naranja".
root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks# kubectl get all
NAME READY STATUS RESTARTS AGE
pod/hello-world-5fdc9bc659-48c99 1/1 Running 0 21d
pod/hello-world-5fdc9bc659-6q7kl 1/1 Running 0 21d
pod/hello-world-5fdc9bc659-pvxpb 1/1 Running 0 21d
pod/hello-world-5fdc9bc659-zvw6v 1/1 Running 0 21d
pod/hello-world-5fdc9bc659-zxhnl 1/1 Running 0 21d
pod/tuservicio-594495857f-hcq59 1/1 Running 0 21d
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/my-service LoadBalancer 10.100.19.245 8080:32628/TCP 21d
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
deployment.apps/hello-world 5 5 5 5 21d
deployment.apps/tuservicio 1 1 1 1 21d
NAME DESIRED CURRENT READY AGE
replicaset.apps/hello-world-5fdc9bc659 5 5 5 21d
replicaset.apps/tuservicio-594495857f 1 1 1 21d
root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks#
root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks# aws s3 ls
2019-07-24 09:57:09 elasticbeanstalk-us-east-1-947293917990
2019-07-02 16:18:45 fin-reg-develop-public
2019-06-11 16:37:37 terraform-regulado-devops
root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks#
The text was updated successfully, but these errors were encountered: