Giter VIP home page Giter VIP logo

demo-extensions's People

Contributors

fshuva avatar guardhao104 avatar joel-cripps avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

demo-extensions's Issues

Error: Error launching source instance: AuthFailure: Not authorized for images: [ami-08f558c88d066cd22] -- AMI ID "ami-08f558c88d066cd22" doesn't exsit on public image.

"ami-08f558c88d066cd22" seems hard-coded in main.tf, but AMI ID "ami-08f558c88d066cd22" doesn't exist on EC2 public images now (observed on Jun.8.2021).

Following is screenshot of searching AMI with "FortiGate".
AMI_us-west-1

So, "terraform apply was failed with following message.

$ terraform apply -var "access_key=aaaaaa" -var "secret_key=bbbbb" -var "fortidemo_ip=c.c.c.c"
...
null_resource.test_instance_is_up: Still creating... [4m0s elapsed]
null_resource.test_instance_is_up (remote-exec): Connecting to remote host via SSH...
null_resource.test_instance_is_up (remote-exec): Host: 54.241.112.144
null_resource.test_instance_is_up (remote-exec): User: admin
null_resource.test_instance_is_up (remote-exec): Password: false
null_resource.test_instance_is_up (remote-exec): Private key: false
null_resource.test_instance_is_up (remote-exec): Certificate: false
null_resource.test_instance_is_up (remote-exec): SSH Agent: false
null_resource.test_instance_is_up (remote-exec): Checking Host Key: false
null_resource.test_instance_is_up (remote-exec): Target Platform: unix
null_resource.test_instance_is_up: Still creating... [4m10s elapsed]
null_resource.test_instance_is_up: Still creating... [4m20s elapsed]
null_resource.test_instance_is_up: Still creating... [4m30s elapsed]
null_resource.test_instance_is_up: Still creating... [4m40s elapsed]
null_resource.test_instance_is_up (remote-exec): Connecting to remote host via SSH...
null_resource.test_instance_is_up (remote-exec): Host: 54.241.112.144
null_resource.test_instance_is_up (remote-exec): User: admin
null_resource.test_instance_is_up (remote-exec): Password: false
null_resource.test_instance_is_up (remote-exec): Private key: false
null_resource.test_instance_is_up (remote-exec): Certificate: false
null_resource.test_instance_is_up (remote-exec): SSH Agent: false
null_resource.test_instance_is_up (remote-exec): Checking Host Key: false
null_resource.test_instance_is_up (remote-exec): Target Platform: unix
null_resource.test_instance_is_up: Still creating... [4m50s elapsed]

Error: timeout - last error: dial tcp 54.241.112.144:22: i/o timeout
Error: Error launching source instance: AuthFailure: Not authorized for images: [ami-08f558c88d066cd22]
status code: 400, request id: 2d9373b5-877c-4faa-9218-f06bfdb4a793

on main.tf line 528, in resource "aws_instance" "fortigate":
528: resource "aws_instance" "fortigate" {

Can we use FOS6.4.5 or above images?

Error: Error in function call

How to fix the following error when i run apply in terraform?

abc@abc-mac demo-extensions-master % ./terraform apply -var "access_key=xxxxxxxxxx" -var "secret_key=xxxxxxxxxxxx" -var "fortidemo_ip=11.11.11.22"
data.aws_inspector_rules_packages.rules: Refreshing state...
data.aws_caller_identity.current: Refreshing state...
data.aws_ami.ubuntu: Refreshing state...

Error: Error in function call

on main.tf line 33, in resource "aws_key_pair" "keypair":
33: public_key = file(var.public_key_path)
|----------------
| var.public_key_path is "~/.ssh/id_rsa.pub"

Call to function "file" failed: no file exists at
/Users/abc/.ssh/id_rsa.pub.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.