-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fixes #114 adds /api
to appliance url
#115
Conversation
@@ -66,6 +66,9 @@ func providerConfig(d *schema.ResourceData) (interface{}, error) { | |||
if appliance_url != "" { | |||
config.ApplianceURL = appliance_url | |||
} | |||
|
|||
// Add `/api` to appliance url for Conjur Cloud support | |||
appliance_url += "/api" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, adding /api
doesn't mess up a request to self-hosted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, self-hosted supports with or without /api
since v5 was released. I've made this change to numerous integrations to include Conjur Cloud support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, mind putting something in the CHANGELOG?
Desired Outcome
Removes the requirement to add
/api
to the end of appliance urls for Conjur Cloud support.Implemented Changes
Describe how the desired outcome above has been achieved with this PR. In
particular, consider:
Added an additional line of code to append
/api
to theappliance_url
variable.Test, deploy, it will work successfully in all cases.
No.
Connected Issue/Story
Resolves #114
CyberArk internal issue ID: n/a
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be
merged.
Changelog
CHANGELOG update
Test coverage
changes, or
Documentation
README
s) were updated in this PRBehavior
Security