Skip to content
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

Read the AMI ID from packer's manifest instead of the human-readable output #99

Merged
merged 1 commit into from
May 11, 2022

Conversation

Dantemss
Copy link
Member

@Dantemss Dantemss commented Feb 18, 2022

If packer's manifest post-processor is not configured, then configure it
Should fix whatever problem is preventing the AMI ID output from working currently

@Dantemss Dantemss self-assigned this Feb 18, 2022
@@ -11,7 +11,7 @@ def self.sha_for_branch_name(org_slash_repo:, branch:)
def self.file_content_at_sha(org_slash_repo:, sha:, path:, github_token: nil )
if github_token.blank?
location = "https://raw.githubusercontent.com/#{org_slash_repo}/#{sha}/#{path}"
file = open(location)
file = URI.open(location)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just fixes a warning in the tests

Copy link
Member

@jivey jivey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me

@Dantemss Dantemss merged commit 417641e into master May 11, 2022
@Dantemss Dantemss deleted the packer_manifest branch May 11, 2022 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants