fortinet / demo-extensions Goto Github PK
View Code? Open in Web Editor NEWFortiDemo Extensions
License: MIT License
FortiDemo Extensions
License: MIT License
"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".
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-f06bfdb4a793on main.tf line 528, in resource "aws_instance" "fortigate":
528: resource "aws_instance" "fortigate" {
Can we use FOS6.4.5 or above images?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.