Loading...
Loading...
### Terraform Version ``` Terraform v0.12.5 + provider.aws v2.7.0 + provider.consul v2.5.0 + provider.template v2.1.2 + provider.vault v2.1.0 ``` ### Terraform Configuration Files ``` resource "aws_instance" "xxx" { ami = "Amazon Linux 2 AMI" connection { agent = false host = self.public_ip private_key = file("private_key") type = "ssh" user = "ec2-user" } provisioner "remote-exec" { inline = [ "sleep 10", "sudo yum update -y", "sleep 10", ] } ... } ``` ### Debug Output ### Crash Output ### Expected Behavior ssh onto machine should not mention needed sudo yum update ### Actual Behavior ssh onto machine mentions 12 security updates missing and requires yum update ### Steps to Reproduce 1. `terraform init` 2. `terraform apply` ### Additional Context Running in Windows ### References - #12139 is not resolved. Fortunately it mentions solution is adding sleep
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.