phillbaker / terraform-provider-mailgunv3

mailgun provider for terraform based on v3 of the api
MIT License
10 stars 3 forks source link

Configure base URL domain #5

Closed Bekt closed 5 years ago

Bekt commented 5 years ago

Hi there, the provider doesn't seem to work when there are multiple domains in the account. It is currently hardcoded here.

Is this a known case or is there a workaround?

Ref: https://documentation.mailgun.com/en/latest/api-intro.html#base-url

phillbaker commented 5 years ago

Thanks for opening an issue. Are you receiving an error? Can you post any (sanitized) output to this issue?

On Thu, Jan 10, 2019 at 9:27 PM Kanat Bekt notifications@github.com wrote:

Hi there, the provider doesn't seem to work when there are multiple domains in the account. It is currently hardcoded here https://github.com/phillbaker/terraform-provider-mailgunv3/blob/358aa350c4a87cca4d53f85394f5f731a19825a0/config.go#L16 .

Is this a known case or is there a workaround?

Ref: https://documentation.mailgun.com/en/latest/api-intro.html#base-url

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/phillbaker/terraform-provider-mailgunv3/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFxKboiNtqGoC0sqdGJx6gJG1dAo3lpks5vB_aCgaJpZM4Z6rk0 .

invidian commented 5 years ago

@Bekt the base URL you referenced seems like a duplicate of #2.

Bekt commented 5 years ago

Sorry for the absence -- @invidian this is about the project domain, not base API url.

It's been almost three months (lol), but back then I did change the code and recompiled to find the root issue. I got distracted and didn't get far unfortunately however I don't think the issue I was facing was directly related to the project domain. I will close this issue since I don't have extra information.