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

var.acme_server_urlの変更の際に手動でacme_registrationを落とさないといけない #21

Open
coord-e opened this issue Jul 16, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@coord-e
Copy link
Contributor

coord-e commented Jul 16, 2019

Step 1: 環境

  • commit c3fe0f0
  • dbgen/backend cb0391a
  • Terraform v0.11.14
    • provider.acme v1.1.2
    • provider.archive v1.2.2
    • provider.aws v2.6.0
    • provider.template v2.1.2
    • provider.tls v1.2.0
  • tfenv 1.0.1

Step 2: 問題

var.acme_server_urlの変更の際に手動でacme_registrationを落とさないといけない
registrationがserverにないとエラーを吐くだけで自動でacme_registrationを再作成してくれない

再現のための手順:

  1. デプロイする
  2. var.acme_server_urlを変更 (terraform.tfvarsなどから)
  3. もう一度デプロイ

どうなってしまうか:

  • registrationがないみたいなエラーが出る

どうなるべきだったのか:

  • 自動で新しいURLでregistrationを作る

関連するコード:

resource "acme_registration" "reg" {

こいつをvar.acme_server_urlに依存させればいいと思うんですが、どうすれば

@coord-e coord-e added the bug Something isn't working label Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant