[英]Automate creating infrastructure in AWS using Terraform through jenkins Job
I'm trying to automate creating infrastructure in AWS using Terraform through jenkins Job. 我正在尝试通过jenkins Job使用Terraform在AWS中自动创建基础架构。
Below are the steps 以下是步骤
1.I have installed Jenkins on AWS Linux EC2 instance 1.我已经在AWS Linux EC2实例上安装了Jenkins
Appreciate your help to find the fix 感谢您的帮助以找到解决方法
Added the aws version as suggested in the below comments and below is the console output from jenkins 按照以下注释中的建议添加了aws版本,以下是jenkins的控制台输出
You need define the release version for terraform provider aws
, example: 您需要为terraform provider
aws
定义发行版本,例如:
provider "aws" {
version = "~> 1.0"
..
}
Reference: 参考:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.