Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add support for Windows for Greengrass Component #605

Open
qoomon opened this issue Dec 6, 2024 · 0 comments
Open

[Feature Request] Add support for Windows for Greengrass Component #605

qoomon opened this issue Dec 6, 2024 · 0 comments

Comments

@qoomon
Copy link

qoomon commented Dec 6, 2024

Please add windows support as well for the Greengrass Component.

I guess it is as easy as adding another Manifests entry for windows
https://github.com/aws/amazon-ssm-agent/blob/mainline/packaging/greengrass/component.json

     {
        "Platform": {
          "os": "windows",
          "architecture": "/amd64|x86_64/"
        },
        "Lifecycle": {
          "SetEnv": {
            "SSM_REGISTRATION_ROLE": "{configuration:/SSMRegistrationRole}",
            "SSM_RESOURCE_TAGS": "{configuration:/SSMResourceTags}",
            "SSM_OVERRIDE_EXISTING_REGISTRATION": "{configuration:/SSMOverrideExistingRegistration}"
          },
          "Install": {
            "Script": "{artifacts:decompressedPath}/artifacts/ssm-setup-cli.exe -env greengrass -install",
            "RequiresPrivilege": true
          },
          "Startup": {
            "Script": "{artifacts:decompressedPath}/artifacts/ssm-setup-cli.exe -env greengrass -register",
            "RequiresPrivilege": true
          },
          "Shutdown": {
            "Script": "{artifacts:decompressedPath}/artifacts/ssm-setup-cli.exe -env greengrass -shutdown",
            "RequiresPrivilege": true
          }
        },
        "Artifacts": [
          {
            "Uri": "",
            "Unarchive": "ZIP",
            "Permission": {
              "Read": "OWNER",
              "Execute": "OWNER"
            }
          }
        ]
      }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant