Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I also decided to go ahead and make program-manager.stage.edx.org redirect to program-console.stage.edx.org in the PR in order to make sure that the next step would work as expected. This required having DevOps clear the Stage program-manager bucket before applying the Terraform.

In applying this, we hit an unexpected snag related to us hitting a limit of Cloudflare worker scripts we can deploy. In the same PR, Joe Mulloy did some refactoring to make it so all MFEs shared the same Cloudflare worker script, resolving the problem. If you’re reading this because you want to rename an MFE, you don’t need to worry about this.

...

Make prod program-manager bucket redirect to program-console

Note that this requires the program-manager S3 bucket being cleared before applying the Terraform changes. Your MFE will be down in the time period between the bucket-wipe and the Terraform-apply. Coordinate with DevOps for this.

If your MFE can’t tolerate ~60 seconds of downtime, then this may not be the right approach.

https://github.com/edx/terraform/pull/2360

...