OctopusDeploy / Library

| Public | A repository of step templates and other community-contributed extensions to Octopus Deploy
Other
171 stars 504 forks source link

Fix the reference architecture sleep time, and use latest provider #1429

Closed mcasperson closed 1 year ago

mcasperson commented 1 year ago

Background

The script that creates dynamic targets uses a sleep time to prevent multiple targets from being created concurrently. The sleep time was too high (over 100 seconds) with the new sort order assigned to the environments. This PR reduces that time to allow the scripts to complete faster.

The variables that are used to define the K8s resource names and HTTP paths now reference a single Microservice.Name variable, allowing a cloned project to very easily be edited.

The PR also uses the latest Terraform provider version.

image

Pre-requisites