I'm trying to automate creating infrastructure in AWS using Terraform through jenkins Job.
Below are the steps
1.I have installed Jenkins on AWS Linux EC2 instance
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
You need define the release version for terraform provider aws
, example:
provider "aws" {
version = "~> 1.0"
..
}
Reference:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.