Fix silly error, make ECR repo mutable

This commit is contained in:
Radon Rosborough 2021-07-05 05:37:03 +00:00
parent bd526e0461
commit bd831fa931
2 changed files with 2 additions and 2 deletions

View File

@ -421,7 +421,7 @@ func main() {
if match := rijuContainerRegexp.FindStringSubmatch(line); match != nil { if match := rijuContainerRegexp.FindStringSubmatch(line); match != nil {
name := match[1] name := match[1]
created, err := time.Parse( created, err := time.Parse(
"2006-01-02 15:04:05 -0070 MST", "2006-01-02 15:04:05 -0700 MST",
match[2], match[2],
) )
if err != nil { if err != nil {

View File

@ -1,6 +1,6 @@
resource "aws_ecr_repository" "riju" { resource "aws_ecr_repository" "riju" {
name = "riju" name = "riju"
image_tag_mutability = "IMMUTABLE" image_tag_mutability = "MUTABLE"
} }
resource "aws_ecrpublic_repository" "riju" { resource "aws_ecrpublic_repository" "riju" {