-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: aws_securitylake_aws_log_source
source version is optional, but returns error
#37133
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Facing a similar issue with log source. got it to work under specific circumstances/parameters. A few observations below: Observation 1: [ERROR] ran the following through the delegated securitylake admin account and got the same error as the issue description. But when i check the console, the logs are indeed enabled in all accounts in the org. This org has accounts that are currently in suspended state.
Observation 2: [ERROR] Destroyed previous run w/ TF and ran the following through the delegated securitylake admin account and got the same error again. The only difference is that I added source_version = "2.0"
Observation 3: [SUCCESSFUL]
|
Obviously, hardcoding active account IDs is not ideal, especially in a large and growing AWS organization with many accounts. I'm assuming at this point that the suspended accounts in an organization are causing this error along with not specifying the actual source_version parameter. |
Terraform Core Version
N/A
AWS Provider Version
5.47.0
Affected Resource(s)
aws_securitylake_aws_log_source
Expected Behavior
When using a default
source_version
, creating theaws_securitylake_aws_log_source
should succeed.Actual Behavior
Applying the configuration returns the error
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
N/A
Steps to Reproduce
N/A
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: