diff --git a/.bumpversion.cfg b/.bumpversion.cfg index ee11dd6..40343da 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.0.0 +current_version = 0.0.1 commit = True message = Bumps version to {new_version} tag = False diff --git a/CHANGELOG.md b/CHANGELOG.md index cea6a0c..40e2664 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +### 0.0.1 + +**Released**: 2020.05.08 + +**Commit Delta**: [Change from 1.0.4 release](https://github.com/plus3it/terraform-aws-tardigrade-security-hub/compare/0.0.0...0.0.1) + +**Summary**: + +* Increase sleep timer to better address for account propagation + ### 0.0.0 **Commit Delta**: N/A diff --git a/main.tf b/main.tf index fb82b82..dddd4e4 100644 --- a/main.tf +++ b/main.tf @@ -62,10 +62,10 @@ resource "null_resource" "create" { count = var.create_securityhub_member && var.auto_accept ? 1 : 0 # The invite from the master sometimes takes a few seconds to register - # before it can be accepted in the target account, so we pause for 3 seconds to let + # before it can be accepted in the target account, so we pause for 5 seconds to let # the invite propagate provisioner "local-exec" { - command = "python -c 'import time; time.sleep(3)'" + command = "python -c 'import time; time.sleep(5)'" } provisioner "local-exec" { @@ -81,6 +81,11 @@ resource "null_resource" "create" { command = self.triggers.destroy_command } + provisioner "local-exec" { + when = destroy + command = "python -c 'import time; time.sleep(5)'" + } + lifecycle { ignore_changes = [triggers["destroy_command"]] }