sparse-intern-71089
03/01/2023, 2:19 AMlittle-cartoon-10569
03/01/2023, 2:25 AMfreezing-umbrella-71201
03/01/2023, 2:32 AMlittle-cartoon-10569
03/01/2023, 2:38 AMlittle-cartoon-10569
03/01/2023, 2:39 AMlittle-cartoon-10569
03/01/2023, 2:40 AMfreezing-umbrella-71201
03/01/2023, 2:43 AMfreezing-umbrella-71201
03/01/2023, 2:43 AMfreezing-umbrella-71201
03/02/2023, 1:27 AMBadRequestException: The request is rejected because an invalid or out-of-range value is specified as an input parameter.for (const region of regions) {
    const provider = new aws.Provider(region, { region });
    const detector = new aws.guardduty.Detector(
      region,
      {
        enable: true,
        findingPublishingFrequency: "FIFTEEN_MINUTES",
      },
      { provider }
    );
    new aws.guardduty.OrganizationConfiguration(
      `guardduty-organization-${region}`,
      {
        autoEnable: true,
        detectorId: detector.id,
        datasources: {
          malwareProtection: {
            scanEc2InstanceWithFindings: {
              ebsVolumes: { autoEnable: true },
            },
          },
          s3Logs: {
            autoEnable: true,
          },
        },
      },
      { provider }
    );
}freezing-umbrella-71201
03/02/2023, 1:28 AMaccountIdlittle-cartoon-10569
03/02/2023, 2:16 AMlittle-cartoon-10569
03/02/2023, 2:17 AMlittle-cartoon-10569
03/02/2023, 2:18 AMThe AWS account utilizing this resource must have been assigned as a delegated Organization administrator account, e.g., via the aws.guardduty.OrganizationAdminAccount resource.
little-cartoon-10569
03/02/2023, 2:18 AMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by