Commit 3cce25e
authored
Clarify Terraform bootstrap image tag ownership (#4)
- Add `bootstrap_image_tag` Terraform variable for the initial ECS task definition image tag
- Replace hardcoded `:latest` in Terraform task definition with `var.bootstrap_image_tag`
- Document the ownership split between Terraform bootstrap infrastructure and GitHub Actions SHA-based CD
- Clarify that Terraform should not roll back externally deployed ECS task definition revisions
Verified:
- `terraform fmt`
- `terraform validate`
- `terraform plan`
- Plan reported no infrastructure changes because `bootstrap_image_tag` defaults to `latest`1 parent b2c459b commit 3cce25e
3 files changed
Lines changed: 46 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
756 | 755 | | |
757 | 756 | | |
758 | 757 | | |
| |||
804 | 803 | | |
805 | 804 | | |
806 | 805 | | |
807 | | - | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
808 | 842 | | |
809 | 843 | | |
810 | 844 | | |
| |||
838 | 872 | | |
839 | 873 | | |
840 | 874 | | |
841 | | - | |
| 875 | + | |
842 | 876 | | |
843 | 877 | | |
844 | 878 | | |
| |||
899 | 933 | | |
900 | 934 | | |
901 | 935 | | |
902 | | - | |
| 936 | + | |
903 | 937 | | |
904 | 938 | | |
905 | 939 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments