diff --git a/.github/workflows/test CI.yml b/.github/workflows/test CI.yml new file mode 100644 index 0000000..7ee7ea1 --- /dev/null +++ b/.github/workflows/test CI.yml @@ -0,0 +1,13 @@ +name: test CI + +on: + pull_request: + types: [opened, synchronized] + +jobs: + job_1: + name: Test job + runs-on: ubuntu-latest + steps: + - name: echo task + run: echo 'Workflow start' diff --git a/leto-modelizer.config.json b/leto-modelizer.config.json index 4b2167c..4ea1a5f 100644 --- a/leto-modelizer.config.json +++ b/leto-modelizer.config.json @@ -1,249 +1,16 @@ { - "app-frontend": { - "kubernator-plugin": { - "dev-cm-js": { - "x": 170, - "y": 434, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "dev-cm-nginx": { - "x": 168, - "y": 294, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "cm-nginx": { - "x": 12, - "y": 12, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "cm-js": { - "x": 12, - "y": 142, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "frontend-dev-cn": { - "x": 12, - "y": 12, - "width": 152, - "height": 332, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "Pod_1": { - "x": 12, - "y": 12, - "width": 194, - "height": 454, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "frontend-dev-deployment": { - "x": 332, - "y": 12, - "width": 236, - "height": 576, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "dev-ingress": { - "x": 609.0000152587891, - "y": 386, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "dev-svc": { - "x": 618, - "y": 260, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - } - } - }, - "basic-infra": { - "terrator-plugin": { - "eu-west-3a": { - "x": 993, - "y": 126, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "eu-west-3b": { - "x": 994, - "y": 222, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "eu-west-3c": { - "x": 994, - "y": 318, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "main_vpc": { - "x": 490, - "y": 197, - "width": 476, - "height": 481, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": true - }, - "frontend_subnet_az1": { - "x": 323.99998474121094, - "y": 38, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "frontend_subnet_az2": { - "x": 162, - "y": 126, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "frontend_subnet_az3": { - "x": 30, - "y": 250, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "ubuntu": { - "x": 993, - "y": 32, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "frontend_secgroup_ssh": { - "x": 522, - "y": 809, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "lb_secgroup_https": { - "x": 378, - "y": 745, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "lb_secgroup_http": { - "x": 331, - "y": 8, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "frontend_lb": { - "x": 47, - "y": 307, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "https_lb_listener": { - "x": 190, - "y": 695, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "http_lb_listener": { - "x": 14, - "y": 730, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "lb_target": { - "x": 828, - "y": 797, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - } - } - }, - ".github/workflows/CI.yml": { + ".github/workflows": { "githubator-plugin": { "workflow_1": { - "x": -428.9666748046875, - "y": 0.1168212890625, - "width": 3345, - "height": 1890, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": true - }, - "trigger_1": { - "x": 12, - "y": 12, - "width": 110, - "height": 80, + "x": 492, + "y": 397, + "width": 250, + "height": 480, "needsResizing": false, "needsPositioning": false, "manuallyResized": false }, - "step_1": { + "trigger_1": { "x": 30, "y": 30, "width": 110, @@ -252,331 +19,16 @@ "needsPositioning": false, "manuallyResized": false }, - "delete-comments": { - "x": 172, - "y": 12, - "width": 185, - "height": 225, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_2": { + "job_1": { "x": 30, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "branch-naming-rules": { - "x": 407, - "y": 12, + "y": 140, "width": 185, "height": 225, "needsResizing": false, "needsPositioning": false, "manuallyResized": false }, - "step_3": { - "x": 30, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_4": { - "x": 180, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_5": { - "x": 330, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_6": { - "x": 480, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_7": { - "x": 630, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_8": { - "x": 780, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_9": { - "x": 930, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "build": { - "x": 1700.192138671875, - "y": 51.822547912597656, - "width": 1085, - "height": 225, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_10": { - "x": 30, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_11": { - "x": 180, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_12": { - "x": 330, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_13": { - "x": 480, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_14": { - "x": 630, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "check-style": { - "x": 146.05621337890625, - "y": 674.6450805664062, - "width": 785, - "height": 225, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_15": { - "x": 30, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_16": { - "x": 180, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_17": { - "x": 330, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_18": { - "x": 480, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_19": { - "x": 630, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_20": { - "x": 780, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "unit-tests": { - "x": 1213.96240234375, - "y": 691.6387939453125, - "width": 935, - "height": 225, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_21": { - "x": 30, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_22": { - "x": 180, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_23": { - "x": 330, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_24": { - "x": 480, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_25": { - "x": 630, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_26": { - "x": 780, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_27": { - "x": 930, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "check-dependencies": { - "x": 2205.586669921875, - "y": 678.5281982421875, - "width": 1085, - "height": 225, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_28": { - "x": 30, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_29": { - "x": 180, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_30": { - "x": 330, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "sonarcloud": { - "x": 1458.6075439453125, - "y": 1103.002197265625, - "width": 485, - "height": 225, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_31": { + "step_1": { "x": 30, "y": 30, "width": 110, @@ -584,60 +36,6 @@ "needsResizing": false, "needsPositioning": false, "manuallyResized": false - }, - "step_32": { - "x": 180, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_33": { - "x": 330, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_34": { - "x": 480, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_35": { - "x": 630, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "step_36": { - "x": 780, - "y": 30, - "width": 110, - "height": 80, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false - }, - "e2e-tests": { - "x": 1232.70361328125, - "y": 1472.2421875, - "width": 935, - "height": 225, - "needsResizing": false, - "needsPositioning": false, - "manuallyResized": false } } } diff --git a/test 4main.tf b/test 4main.tf new file mode 100644 index 0000000..a6e0c8f --- /dev/null +++ b/test 4main.tf @@ -0,0 +1,8 @@ +resource "aws_s3_bucket" "aws_s3_bucket" { + bucket = "bucket" +} + +resource "aws_s3_bucket_acl" "aws_s3_bucket_acl" { + bucket = [aws_s3_bucket.aws_s3_bucket.id] + acl = "private" +}