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

fix: example do not create ssh key if already exists #4

Merged
merged 6 commits into from
Jun 28, 2022

Conversation

akocbek
Copy link
Contributor

@akocbek akocbek commented Jun 27, 2022

No description provided.

name = var.prefix
public_key = resource.tls_private_key.tls_key.public_key_openssh
}

data "ibm_is_ssh_key" "existing_ssh_key" {
Copy link
Member

Choose a reason for hiding this comment

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

Could you just confirm that this does not error out if there is no key

Copy link
Contributor Author

Choose a reason for hiding this comment

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

testing

@vburckhardt vburckhardt self-requested a review June 28, 2022 13:28
Copy link
Member

@vburckhardt vburckhardt left a comment

Choose a reason for hiding this comment

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

lgtm

@vburckhardt vburckhardt merged commit e68e629 into init-vsi-mod Jun 28, 2022
@vburckhardt vburckhardt deleted the fix_example branch June 28, 2022 13:29
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.

3 participants